Releases: YahooArchive/locator-lang
Release list
upgrade
bugfix
minor release
PR #6: supporting requiredLangs of langs to fallback lang bundles and lang entries when needed.
Details
The requiredLangs configuration specifies an array of required languags. If this value is set, the plugin will complete language bundles and/or entries based on the defaultLang. In other words, if you haven't done the translation for a particular language, the plugin will fallback to the default language bundle by using the default values as the values for the missing language. The same happen for individual entries in each language bundle, and the plugin will be able to analyze each file, and fallback to a default entry/message when it is missing in a particular language bundle. This guarantee that your application can assume all entries/messages and lang bundles are in place for all the languages in the requiredLangs configuration.
housekeeping release
- remove yrb transpiler parser in favor for
require('intl-messageformat').__parse - parsed messages are now arrays
0.1.1
- add
transpilerconfiguration option support to specify which transpiler to use for message format - add
yrbtranspiler
E.g:
new LocatorLang({
transpiler: 'yrb', // this will transpile yrb message format into our internal js format
format: 'yui' // output format for the module wrapper
});
0.1.0
- using
/instead of.for the delimiter when registering underY.Intl. - allows the application to declare the default language tag.
- guarantees that build files will always include a language tag.
- adding support for yrb format in a form of
*.presfiles.
First iteration
0.0.1-alfa history entry