silverstripe-framework/.tx/config
Ingo Schommer 2c145cd454 API JS i18n files with short locale names, generated by build task
The files are uploaded to transifex.com now, which means we needed
to consolidate the file names (= locales). Since Transifex doesn't allow
arbitrary JavaScript structures, we're using an intermediary JSON
format which gets transformed into the JS used by the framework.

See b59f3858af for generator logic.

Fixes https://github.com/silverstripe/silverstripe-framework/issues/2499
2013-10-25 12:05:46 +02:00

20 lines
488 B
Plaintext

[main]
host = https://www.transifex.com
[silverstripe-framework.master]
file_filter = lang/<lang>.yml
source_file = lang/en.yml
source_lang = en
type = YML
[silverstripe-framework.master-js]
file_filter = javascript/lang/src/<lang>.js
source_file = javascript/lang/src/en.js
source_lang = en
type = KEYVALUEJSON
[silverstripe-framework.master-admin-js]
file_filter = admin/javascript/lang/src/<lang>.js
source_file = admin/javascript/lang/src/en.js
source_lang = en
type = KEYVALUEJSON