Titanium JIRA Archive
Alloy (ALOY)

[ALOY-208] Handle i18n localization folder

GitHub Issuen/a
TypeStory
PriorityMedium
StatusResolved
ResolutionFixed
Resolution Date2012-08-29T04:22:32.000+0000
Affected Version/s2012 Sprint 18
Fix Version/s2012 Sprint 18, Release 3.0.0
ComponentsXML
Labelsn/a
ReporterTony Lukasavage
AssigneeUnknown
Created2012-08-28T06:58:45.000+0000
Updated2018-03-07T22:25:56.000+0000

Description

Apps are localized via the i18n directory: https://wiki.appcelerator.org/display/guidesSnapshot25Oct2011v2/Internationalizing+your+Application We need to determine how we will handle this in alloy. Possibilities:

Just drop it in the assets and/or lib directory. Confusing, but will work.

Put it in the top-level app directory like this: /app/i18n

I like option #2 personally as I think having localization visible at the top-level is a good thing. It makes it clear to the developer to expect that localization will be present in the project.

Comments

  1. Russell McMahon 2012-08-28

    Russ to talk to Gabe and Docs to get this resolved.
  2. Tony Lukasavage 2012-08-29

    Actually, in retrospect, we probably don't need to do much of anything here. The i18n directory exists at the project root, outside of Resources or app, just like plugins and modules. Localization can continue to work the same way.
  3. Yair 2014-07-08

    Tony, I think you're missing a major gap here. The logical place to use i18n strings is in the alloy xml file but these do not work

JSON Source