Internationalization An introduction to Drupal i18n Russell Blakeborough [email protected].
How do i - localization and internationalization (l10n, i18n)
-
Upload
shai-almog -
Category
Mobile
-
view
47 -
download
2
Transcript of How do i - localization and internationalization (l10n, i18n)
How do I?
I18N & L10N Internationalization & Localization
I18N & L10N
© Codename One 2017 all rights reserved
✦ I18N - Internationalization the process of making one app that works everywhere for every “locale”
✦L10N - Localization is the process of adapting to each locale
✦Locale - unlike language locale goes deeper it’s how we write our numbers, dates, phrase our sentences etc.
Translation
© Codename One 2017 all rights reserved
✦Resource bundles installed in UIManager ✦Seamless to code… ✦But can be used manually ✦Missing MessageFormat functionality: This is the {0}
time ✦Cultural translations can be done on top: colors,
images, gender, politics…
Formatting
© Codename One 2017 all rights reserved
✦L10NManager & com.codename1.l10n.SimpleDateFormat
✦Allow formatting dates and numbers based on locale, currency etc
Orientation
© Codename One 2017 all rights reserved
✦RTL (Right to Left) or BiDi (Bi-directional) represents the problem posed by some ancient languages (Hebrew, Arabic etc.)
✦RTL languages are written from right to left but the numbers within (or english) is written from left to right (hence bidi)
✦ In these languages the entire UI should be flipped or it will look odd, this includes the alignment of the elements. Codename One does that implicitly
Thank You!