BIWUG 30/11/2011 Multilanguage SharePoint - Deepdive

23
MUI Deep dive edition Presented by Andy Van Steenbergen #Biwug3011

Transcript of BIWUG 30/11/2011 Multilanguage SharePoint - Deepdive

Page 1: BIWUG 30/11/2011 Multilanguage SharePoint - Deepdive

#Biwug3011

MUI Deep dive edition

Presented by Andy Van Steenbergen

Page 2: BIWUG 30/11/2011 Multilanguage SharePoint - Deepdive

#Biwug3011

About the speaker

[email protected]• SharePoint Consultant at Ordina• Twitter: Meligo• Blog: http://meligo.blog.com• Linkedin: Andy Van Steenbergen

Page 3: BIWUG 30/11/2011 Multilanguage SharePoint - Deepdive

#Biwug3011

Agenda

Kind of resources and locations

How to develop in MUI

MUI in Sandboxed?

Last but not least – Lessons learned

Page 4: BIWUG 30/11/2011 Multilanguage SharePoint - Deepdive

#Biwug3011

Page 5: BIWUG 30/11/2011 Multilanguage SharePoint - Deepdive

#Biwug3011

Page 6: BIWUG 30/11/2011 Multilanguage SharePoint - Deepdive

#Biwug3011

Can central admin be MUI enabled?

YES

Page 7: BIWUG 30/11/2011 Multilanguage SharePoint - Deepdive

#Biwug3011

Page 8: BIWUG 30/11/2011 Multilanguage SharePoint - Deepdive

#Biwug3011

MUI in Dev - resource files

• Muidemo.resx

Language invariant

• Muidemo.nl.resx

Language neutral

• Muidemo.nl-NL.resx

Culture specific

Page 9: BIWUG 30/11/2011 Multilanguage SharePoint - Deepdive

#Biwug3011

Mui in Dev

Resources Locations

14hive\config and config\adminresources

14hive\resources

Feature resource location

App resources

WPResources (legacy)

Page 10: BIWUG 30/11/2011 Multilanguage SharePoint - Deepdive

#Biwug3011

Page 11: BIWUG 30/11/2011 Multilanguage SharePoint - Deepdive

#Biwug3011

Page 12: BIWUG 30/11/2011 Multilanguage SharePoint - Deepdive

#Biwug3011

Can MUI exist in Sandbox?

Page 13: BIWUG 30/11/2011 Multilanguage SharePoint - Deepdive

#Biwug3011

Page 14: BIWUG 30/11/2011 Multilanguage SharePoint - Deepdive

#Biwug3011

Dev pitfalls?

• There are a couple of downfalls for the use of MUI– Try finding a list via a resourcename (good luck)– Fields: Do not use displayname! (why?)• Always use ID or internal name via a constant class

Page 15: BIWUG 30/11/2011 Multilanguage SharePoint - Deepdive

#Biwug3011

Page 16: BIWUG 30/11/2011 Multilanguage SharePoint - Deepdive

#Biwug3011

Can you

Create your own custom language pack?Yes, just create an empty solution and only add the resource files in this solution linked with lcid

So 1043 (dutch-NL) , only dutch resource filesBut set the solution ID to the original solution

Link to MSDN

Page 17: BIWUG 30/11/2011 Multilanguage SharePoint - Deepdive

#Biwug3011

Page 18: BIWUG 30/11/2011 Multilanguage SharePoint - Deepdive

#Biwug3011

What if

Only 1 language is requested?

Page 19: BIWUG 30/11/2011 Multilanguage SharePoint - Deepdive

#Biwug3011

Take away

• MUI = resource files (+ language packs)• Forget displayname • Not all site templates support MUI: Blog,

meeting workspace

Page 20: BIWUG 30/11/2011 Multilanguage SharePoint - Deepdive

#Biwug3011

QUESTIONS?

Page 22: BIWUG 30/11/2011 Multilanguage SharePoint - Deepdive

#Biwug3011

How many times was the word “MUI” mentioned in this presentation?

Last person who was registered is………………… TOM NYS

14

Page 23: BIWUG 30/11/2011 Multilanguage SharePoint - Deepdive

#Biwug3011

Us

End of

session

SharePint