OSGeoLive-doc/locale
github-actions[bot] dd198d21da Update locale: commit 2023-08-02 13:38:32 +00:00
..
de/LC_MESSAGES Translated using Weblate (German) 2023-07-31 20:24:19 +00:00
en/LC_MESSAGES Update locale: commit 2023-08-02 13:38:32 +00:00
es/LC_MESSAGES Translated using Weblate (Spanish) 2023-07-31 20:24:19 +00:00
fi/LC_MESSAGES Locale cleanup (#801) 2023-04-06 14:36:23 -06:00
fr/LC_MESSAGES Translated using Weblate (French) 2023-07-31 20:24:18 +00:00
hu/LC_MESSAGES Translated using Weblate (Hungarian) 2023-07-31 20:24:19 +00:00
it/LC_MESSAGES Translated using Weblate (Italian) 2023-07-31 20:24:18 +00:00
ja/LC_MESSAGES Translated using Weblate (Spanish) 2023-07-31 20:24:19 +00:00
nl/LC_MESSAGES Translated using Weblate (Dutch) 2023-07-31 20:24:19 +00:00
pot Update locale: commit 2023-08-02 13:38:32 +00:00
pt/LC_MESSAGES Locale cleanup (#801) 2023-04-06 14:36:23 -06:00
sv/LC_MESSAGES Locale cleanup (#801) 2023-04-06 14:36:23 -06:00
tr/LC_MESSAGES Locale cleanup (#801) 2023-04-06 14:36:23 -06:00
zh_Hans/LC_MESSAGES Locale cleanup (#801) 2023-04-06 14:36:23 -06:00
.gitignore saving changes on CMakeLists 2017-06-03 09:58:20 -05:00
README.md [locale] Automatic generation of locale files 2022-03-24 13:30:13 -06:00

README.md

Locale

new/modified resource

When a new rst file is been processed

  • new
    • .tx/config needs to be created
    • pot & english po files need to be created
  • update
    • pot & english po files need to be updated

Note: This process is done automatically on the github actions

Manual change

bash ci/update_locale.sh

Download translations

This is needed for translator reviewer to check & fix the sphinx build

work on 2 terminals

  • one with the python environment on (termA)
  • other without python environment (termB)

For this example we are using the french language

Process:

  • Download based on percentage translated (from the root of the repository)
termB$ tx pull -l fr --minimum-perc=80 --skip
  • Build localy on termA
mkdir -p build
cd build
cmake -DFR=ON ..
make html-fr
  • Look for errors and fix on transifex Suppose errors were fixed on overview--52nSOS_overview then download only that resource
tx pull -l fr -r osgeolive.overview--52nSOS_overview

Repeat until the most amount of errors could be fixed

commit push and make a PR.

Please commit your work and push

git add locale/fr
git commit -m '[fr] adding french translations'
git push

note make sure the commit message has the language enclosed in square braquets.

Make a Pull Request. Further fixes are going to be done by the OSGeoLive team.