Skip to content
This repository was archived by the owner on Apr 16, 2019. It is now read-only.

Releases: YahooArchive/locator-lang

upgrade

Choose a tag to compare

@caridy caridy released this 04 Jun 05:36
  • PR #8: updating debug pkg.

bugfix

Choose a tag to compare

@caridy caridy released this 04 Jun 05:35
  • PR #7: bugfix for requiredLangs to avoid getting into a funky state in locator when mixing this plugin with locator-yui, where meta modules will be generated multiple times.

minor release

Choose a tag to compare

@caridy caridy released this 06 Mar 19:33

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

Choose a tag to compare

@caridy caridy released this 13 Feb 23:36
  • remove yrb transpiler parser in favor for require('intl-messageformat').__parse
  • parsed messages are now arrays

0.1.1

Choose a tag to compare

@ekashida ekashida released this 01 Nov 23:18
  • add transpiler configuration option support to specify which transpiler to use for message format
  • add yrb transpiler

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

Choose a tag to compare

@ekashida ekashida released this 17 Oct 19:47
  • using / instead of . for the delimiter when registering under Y.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 *.pres files.

First iteration

First iteration Pre-release
Pre-release

Choose a tag to compare

@caridy caridy released this 13 Sep 01:29
0.0.1-alfa

history entry