You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Instructions to update:

a) The master resource files (english) from Git Repo to Transifex
b) the localization files (L10N resource files) with the latest version from Transifex.

For example, with 4.2 branch (some lines must modify if your use another CS version to match with correct version number).

1/ Update your master git repository

git checkout 4.2
git pull

2/ Create a new temporary branch

git checkout -b updateMsg

3/ Put into transifex the latest version of messages.properties

cd tools/transifex/
./sync-transifex-ui.sh upload-source-language CloudStack_UI.42xmessagesproperties

4/ Get the latest L10N resource files from transifex

./sync-transifex-ui.sh download-l10n-languages CloudStack_UI.42xmessagesproperties

5/ Add resource files in your local branch and commit

cd ../..
git add ./client/WEB-INF/classes/resources/*.properties
git commit -m "Update L10N strings from Transifex to repo"

6/ Create the patch file

git format-patch 4.2 --stdout > ~/update_l10n_strings_master.patch

7/ Final step: apply the patch to master and push it.

git checkout 4.2
git am ~/update_l10n_strings_master.patch
git push origin 4.2
  • No labels