This document summarizes a presentation about developing multilingual user interfaces (MUI) in SharePoint. The presentation covered where to store resource files for different languages, how MUI works in sandboxed solutions versus full trust environments, common pitfalls when using MUI, and how to create custom language packs. The speaker was Andy Van Steenbergen and resources for learning more about MUI included blogs by The SharePoint Baker and Tom Nys.
MUI Deep dive edition Presented by Andy Van Steenbergen
1. MUI Deep dive edition
Presented by Andy Van Steenbergen
#Biwug3011
2. About the speaker
• Andy.vansteenbergen@biwug.be
• SharePoint Consultant at Ordina
• Twitter: Meligo
• Blog: http://meligo.blog.com
• Linkedin: Andy Van Steenbergen
#Biwug3011
3. Agenda
Kind of resources and locations
How to develop in MUI
MUI in Sandboxed?
Last but not least – Lessons learned
#Biwug3011
8. MUI in Dev - resource files
Language invariant
• Muidemo.resx
Language neutral
• Muidemo.nl.resx
Culture specific
• Muidemo.nl-NL.resx
#Biwug3011
9. Mui in Dev
Feature resource
location
14hiveresources App resources
14hiveconfig and Resources WPResources (legacy)
configadminresources
Locations
#Biwug3011
14. 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
#Biwug3011
16. 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 files
But set the solution ID to the original solution
Link to MSDN
#Biwug3011
If you haven’t installed language packs in your SharePoint environment, “Language Settings” option is never shown under Site Administration section in Site Settings page, also both “Export Translations” and “Import Translations” options show up under site administration section in site settings page as soon as you specify alternate languages.
In the term store you can select the languages that you want to have for MUICreate new term set, new term group, new term and the new term window you can select the language and enter additional data
14 hiveconfig ->copieren van appglobalresources bij het aanmaken van een web appConfig\\adminresources -> mui in centraladminDeployment type ApplicationResource of resx -> wpresourcesHide feature when resources are notavailable
Business needs to validate the labels Usean invariant resource file even ifyou are notgoingmultilingual (1 placefor label values, no longer in code)
Beheer van labels -> businessDiscussie
Zinveranderen
Business needs to validate the labels Usean invariant resource file even ifyou are notgoingmultilingual (1 placefor label values, no longer in code)
Business needs to validate the labels Usean invariant resource file even ifyou are notgoingmultilingual (1 placefor label values, no longer in code)