Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#4258 closed task (fixed)

I18N demo

Reported by: bill Owned by: bill
Priority: high Milestone: 1.0
Component: Dijit Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description

Make I18N demo showing tree of countries (or languages), and then clicking a given country/language will show some widgets (Calendar, Combobox, etc.) in the given language (ie, with localized strings, and with RTL display if appropriate).

Tree should have icons (see flags in http://en.wikipedia.org/wiki/List_of_countries_by_continent).

Also want to display RTL tree with arabic names, from http://ar.wikipedia.org/wiki/%D9%82%D8%A7%D8%A6%D9%85%D8%A9_%D8%A7%D9%84%D8%AF%D9%88%D9%84_%D8%AD%D8%B3%D8%A8_%D8%A7%D9%84%D8%B3%D9%83%D8%A7%D9%86

And also, store a few localized names in the data and use them: http://www.foreignword.com/countries/Japanese.htm

Depends on #4257

Change History (9)

comment:1 Changed 12 years ago by bill

(In [10346]) Refs #4258: I18N demo Created a bunch of country/language data, including flag icons (graphics from http://en.wikipedia.org/wiki/ISO_3166-1)

comment:2 Changed 12 years ago by bill

Resolution: fixed
Status: newclosed

(In [10347]) Fixes #4258: I18N demo Note that this is downloading a *lot* of json data but it seems to work relatively quickly anyway.

comment:3 Changed 12 years ago by Adam Peller

(In [10358]) Override bidi settings where text isn't translated. Still can't figure out why CurrencyTextBox? isn't working. Refs #4258

comment:4 Changed 12 years ago by bill

(In [10400]) Refs #4258: I18N demo data was missing names of some languages.

comment:5 Changed 12 years ago by bill

(In [10401]) Change I18N demo tree to be continent --> country --> language, partly because it seems better and partly to demonstrate custom data store access from the tree. (refs #4258)

comment:6 Changed 12 years ago by Adam Peller

(In [10465]) add line breaks. Refs #4258

comment:7 Changed 12 years ago by bill

Milestone: 1.11.0

comment:8 Changed 11 years ago by bill

(In [14205]) Use flag images from http://www.famfamfam.com/lab/icons/flags/ instead of wikipedia. Refs #4258

comment:9 Changed 11 years ago by bill

(In [14211]) Use country data from GeoNames? instead of Wikipedia, and load data on demand. Note that the GeoNames? server provides localized data (ie, country names), so we intentionally pass the page's language setting as a parameter. The good thing about this change is that is shows off RPC. The bad thing is that the tree loads slowly (especially since the GeoNames? server can't filter countries by continent) Refs #4258, fixes #6808.

Note: See TracTickets for help on using tickets.