L20n/Features/String keys

From MozillaWiki
< L20n‎ | Features
Jump to: navigation, search


goal

enable hash keys to be strings.

example

<cityList {
  "New York": "Nowy Jork",
  "Vienna": "Wiedeń",
  "Abu Dhabi": "Abu Dabi",
 *other: "{{ cityName }}"
}>

that would allow a localizer to localize the city name if possible and fallback to the default name if not:

<userCity "Twoje miasto to {{ :cityList[cityName] }}">

status

  • open, there seem to be little to no implications on the syntax, so we may want to enable it.
  • gandalf - accepted
  • pike, stas - ?