Skip to content

Commit

Permalink
Add support for Georgian language as a community translation
Browse files Browse the repository at this point in the history
Locale "ka_GE"

Support needs to be added in 3 places:

  - welcome page via language.properties so it is user selectable

  - GWT build options to include the new locale as an included
    permutation for a `BUILD_LOCALES=1` build

  - i18n scripts to pull the translations
  • Loading branch information
sjd78 committed May 16, 2022
1 parent d4c13d6 commit 4e2cc04
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ ko_KR=\uD55C\uAD6D\uC5B4 - \uB300\uD55C\uBBFC\uAD6D
pt_BR=Português - Brasil
zh_CN=\u4E2D\u6587\uFF08\u7B80\u4F53\uFF09 - \u4E2D\u56FD
cs_CZ=\u010Cesky - \u010Cesko
ka_GE=\u10E5\u10D0\u10E0\u10D7\u10E3\u10DA\u10D8
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ private List<String> createLocaleKeys() {
keys.add("fr_FR");
keys.add("it_IT");
keys.add("ja_JP");
keys.add("ka_GE");
keys.add("ko_KR");
keys.add("pt_BR");
keys.add("zh_CN");
Expand Down
2 changes: 1 addition & 1 deletion frontend/webadmin/modules/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@
<profile>
<id>all-langs</id>
<properties>
<gwt.locale>en_US,es_ES,fr_FR,ja_JP,pt_BR,zh_CN,de_DE,ko_KR,it_IT,cs_CZ</gwt.locale>
<gwt.locale>en_US,es_ES,fr_FR,ja_JP,pt_BR,zh_CN,de_DE,ko_KR,it_IT,cs_CZ,ka_GE</gwt.locale>
</properties>
</profile>
<profile>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<set-configuration-property name="locale.useragent" value="Y" />

<!-- Supported locales (defined via maven property) -->
<extend-property name="locale" values="en_US,es_ES,fr_FR,ja_JP,pt_BR,zh_CN,de_DE,ko_KR,it_IT,cs_CZ" />
<extend-property name="locale" values="en_US,es_ES,fr_FR,ja_JP,pt_BR,zh_CN,de_DE,ko_KR,it_IT,cs_CZ,ka_GE" />
<set-property name="locale" value="${gwt.locale}" />
<set-property-fallback name="locale" value="en_US" />

Expand Down
2 changes: 1 addition & 1 deletion i18n/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

.PHONY: prepare zanata-push push zanata-pull normalize copy-changed pull

ZANATA_LOCALES=de,es,fr,it,ja,ko,pt-BR,zh-CN,ru,cs
ZANATA_LOCALES=de,es,fr,it,ja,ko,pt-BR,zh-CN,ru,cs,ka

prepare:
mvn clean
Expand Down
2 changes: 1 addition & 1 deletion i18n/zanata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<!--
Source Language: en_US
Translated locales: es_ES, fr_FR, ja_JP, pt_BR, zh_CN, de_DE, ko_KR
Community translated locales: it_IT, cs, ru
Community translated locales: it_IT, cs, ru, ka_GE
NOTE: Language to Java locale aliases are defined on the project+version
on the zanata server itself. No aliases need to be defined in this
Expand Down

0 comments on commit 4e2cc04

Please sign in to comment.