Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

This page describe the instructions to:

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

Requirements:

  • Transifex account
  • Transifex command line util (tx)
  • To commit the changes in CS Git repository: ASF CloudStack committee / PMC level.

Instructions:

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

Code Block
git checkout 4.2
git pull

2/ Create a new temporary branch

Code Block
git checkout -b updateMsg

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

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

4/ Get the latest L10N resource files from transifex

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

5/ Add resource files in your local branch and commit

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

6/ Create the patch file

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

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

Code Block
git checkout 4.2
git am ~/update_l10n_strings_master.patch
git push origin 4.2