- Adds short and long number formatting. Also adds CLDR 29 and updates of IANA timezone data.
- Fixes object notation bug.
- Adds CLDR 27
- Fixes #109 — File path root is duplicated on compile
- Removes download reportage.
- Removes auto deletion of files during
l10ns update
andl10ns compile
. Adds a clean command for purging unused files.
- Fixes International region codes.
- Fixes install issues.
- Dos not show error message in different passed in variables.
- Fixes install report problem.
- Fixes first-line issues and files prop sorting. Thanks to Peter Lyons.
- Fixes GA script.
- Fixes GA script.
- Adds different GA ID for post install script.
- Adds install report analytics.
- Changes to the new favicon.
- Fixes CLDR data path issues.
- Fixes issues with localization key getter not getting keys inside a function call.
- Fixes error message for selectordinal format parsing. Thanks to Naman Goel.
- Fix version of CLDR data.
- Fixes autoroute issues, that causes problem with node v0.12.
- Fixes bug with example numbers not showing decimal example whenever there is no integer example
- Changes locale reference to language
- Adds Dateformat
- Adds cldrjs and cldr-data
- Adds compile button on interface
- Fixes bug with setting a localization through CLI
set
method - Adds BCP47 compliancy
- Adds lazy caching to message parsing
- etc.
Deprecates the settings project.locales
and project.defaultLocale
in favor of project.languages
and project.defaultLanguage
. Locales
and language
or language tags
have different meanings. Here is an excerpt from w3c:
A major difference between language tags and locale identifiers is the meaning of the region code. In both language tags and locales, the region code indicates variation in language (as with regional dialects) or presentation and format (such as number or date formats). In a locale, the region code is also sometimes used to indicate the physical location, market, legal, or other governing policies for the user.
Because L10ns uses the BCP47 standard and they refer to language tags
or just language
and not locale
. L10ns should not refer locales
either.
Here is the example changes marked for a project:
{
"projects": {
"test": {
"programmingLanguage": "javascript",
"locales": { // Use languages instead
"en-US": "English (US)"
},
"quiet" : false,
"defaultLocale": "en-US", // Use defaultLanguage instead
"currencies": [
"USD"
],
"store": "example/javascript/localizations",
"output": "example/javascript/output",
"source": ["example/javascript/index.js"],
"interface" : {
"autoOpen": false,
"port": 3004
}
}
},
"defaultProject": "javascript"
}