Files
stf-DeviceFarmer-1/res/app/settings/language/language.jade
Gunther Brunner 2eb47f312a - Supported languages now all centralized.
Now the flow for adding a new language is just:
1.Add a new language entry to `res/common/lang/langs.json`.

And for translating it's just:
1. Run `gulp translate` (extracts all the strings).
2. Open `/res/common/lang/po/stf.pot` in PoEdit and translate.
3. Run `gulp translate` again (creates a json based on the new `po` file).
2014-03-27 13:53:57 +09:00

9 lines
297 B
Plaintext

.widget-container.fluid-height(ng-controller='LanguageCtrl')
.heading
i.fa.fa-flag
span(translate) Language
.widget-content.padded
.form-horizontal
.form-group
select.form-control(ng-model='language', ng-options='key as value for (key, value) in supportedLanguages')