Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-6604] MobileWeb: Build a robust internationalization and locale system

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2012-03-08T16:42:26.000+0000
Affected Version/sRelease 2.0.0
Fix Version/sSprint 2012-05, Release 2.0.0
ComponentsMobileWeb
Labelsn/a
ReporterChris Barber
AssigneeChris Barber
Created2011-12-13T10:20:32.000+0000
Updated2017-03-04T00:22:00.000+0000

Description

Mobile web needs a newly designed internationalization (i18n) and localization (l10n system. The system needs to be designed so that there's a default implementation in en-US, but then have several subdirectories for each language/locale with specific overrides. For i18n, these are string tables. This is tied into the Ti.Locale.getString() or L() function. For l10n, we need modules that describe things such as currency, decimal, and date/time formatting. When the app launches, it will detect the language and locale, then load the appropriate strings. Language/locale bundles can be lazy loaded. The build system will need to have support for i18n and l10n bundles. That means that when you do a build, you can specify the supported languages that you want bundled into the build.

Attachments

FileDateSize
Archive.zip2012-03-08T04:09:04.000+00003644666

Comments

  1. Chris Barber 2012-03-08

    Pull request: https://github.com/appcelerator/titanium_mobile/pull/1603
  2. Chris Barber 2012-03-08

    Test with KitchenSink and attached test case.
  3. Lee Morris 2017-03-04

    Closing ticket due to MobileWeb no longer being supported.

JSON Source