120 likes | 134 Views
Cross-platform localization with the Multilingual App Toolkit. 2-84. Cameron Lerum Sr. Program Manager Operating Systems Group. Multilingual App Toolkit. Developers focus on features, not languages Seamless localization workflow Instant access to translation services
E N D
Cross-platform localization with the Multilingual App Toolkit 2-84 Cameron Lerum Sr. Program Manager Operating Systems Group
Multilingual App Toolkit Developers focus on features, not languages Seamless localization workflow Instant access to translation services Enables community and professional services
Xamarin Forms ‘TabbedPageDemo’ localization demo
Xamarin iOS ‘Touch iOS’ localization demo
Xamarin Android ‘Layout’ localization demo
Globalization best practices • Use market aware controls • Calendar, Currency, numbers vary between markets • Avoid String.Format(“{0}/{1}/{2}”, Month, Day, Year) • Start by building globalization into your app • It always harder to retro-fix globalization • Design app layout with globalization in mind
Localization best practices • Place all localization strings in the resource file • iOS: *.lproj -> Localizable.strings • Android: values_* -> strings.xml • Allow for up to 40% growth in your UI layout • Do hardcode strings that should not be translated • Avoid placing text in image files • Avoid concatenating strings. • Use parameters in localizable strings so translator can reorder if needed
Multilingual App Toolkit Resources http://aka.ms/matinstallv4 Download v4.0 http://aka.ms/matblog Announcements http://aka.ms/matvoice User voice site
Translation Resources http://www.MicrosoftTranslator.com/dev Microsoft Translator Developer Site http://www.microsoft.com/Language Microsoft Language Portal