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

Compare with Current View Page History

« Previous Version 6 Current »

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 utils (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.

Instructions:

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

Requirement: if the 4.7 resources files don't exists on Transifex, you must create the resource file (en_US) on Transifex website before follow theses commands:

1/ Update your master git repository

git checkout 4.7 # or use 'master' instead of '4.7' if the next version is the 4.7
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.47xmessagesproperties

4/ Get the latest L10N resource files from transifex

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

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 for the 4.7 release"

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

git push --set-upstream origin updateMsg

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

 

  • No labels