Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

When do this work:

  • After each new major release on master branch, to add the N+1 release config and after the creation of the release branch by the release manager: add the transifex config for new L10N resources files must be done(just update the tx/.config file
  • Regularly or just before make a minor release, update the translation on the release branch (or master)

Requirements:

  • Transifex account
  • Transifex command line utils client (tx) (go to here)
  • To commit the changes in CS Git repository: ASF CloudStack committee / PMC level else create a patch and submit to the CloudStack project.CloudStack GitHub clone repository and ability to make a Pull Request

Instructions:

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

...

Code Block
git checkout 4.79 # or use 'master' instead of '4.79' if you thewould nextupdate versionthe ismain thedevelopment 4branch.7
git pull

2/ Create a new temporary branch

Code Block
git checkout -b updateMsgL10N-update-4.9-20160812

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

Code Block
cd tools/transifex/
./sync-transifex-ui.sh upload-source-language CloudStack_UI.47xmessagesproperties49xmessagesproperties

4/ Get the latest L10N resource files from transifex

Code Block
./sync-transifex-ui.sh download-l10n-languages CloudStack_UI.47xmessagesproperties49xmessagesproperties

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 stringsresource fromfiles Transifexwith to4.9 repostrings forfrom the 4.7 releaseTransifex (20160812)"

6/ Push your local branch on Github to create the pull request.

Code Block
git push --set-upstream origin updateMsgL10N-update-4.9-20160812

7/ Final step: on Github, create a new pull request (PR) for the release manager team:.