Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: docs/usage/syncing-translations.md

Issue 29977571: Issue 7201 - Add links to CMS documentation (Closed) Base URL: https://hg.adblockplus.org/cms/
Patch Set: Created Jan. 10, 2019, 12:01 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « docs/usage/standalone-test-server.md ('k') | docs/usage/test-server.md » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Syncing translations # 1 # Syncing translations #
2 2
3 Before syncing translations ensure the following: 3 Before syncing translations ensure the following:
4 4
5 - The `crowdin-project-name` setting has been set in the site's configuration. 5 - The `crowdin-project-name` setting has been set in the site's configuration.
6 - The `urllib3` Python module is installed. 6 - The `urllib3` Python module is installed.
7 7
8 Now to sync with Crowdin type the following: 8 Now to sync with Crowdin type the following:
9 9
10 python -m cms.bin.translate www_directory crowdin_project_api_key [logging_l evel] 10 python -m cms.bin.translate www_directory crowdin_project_api_key [logging_l evel]
(...skipping 14 matching lines...) Expand all
25 25
26 - You have to use the Crowdin project's API key, not your account API key 26 - You have to use the Crowdin project's API key, not your account API key
27 - You should probably enable "Skip untranslated strings" under your 27 - You should probably enable "Skip untranslated strings" under your
28 project settings. 28 project settings.
29 - Translations are only _uploaded_ for new files. If you are syncing with 29 - Translations are only _uploaded_ for new files. If you are syncing with
30 Crowdin for the first time, and you have existing translation files pay 30 Crowdin for the first time, and you have existing translation files pay
31 attention to any warnings. If there are any problems it is recommended 31 attention to any warnings. If there are any problems it is recommended
32 you re-create another fresh Crowdin project and try again. (Otherwise 32 you re-create another fresh Crowdin project and try again. (Otherwise
33 translations for the pages already uploaded could be lost!) 33 translations for the pages already uploaded could be lost!)
34 - If you are running the script from a cronjob or similar you will probably 34 - If you are running the script from a cronjob or similar you will probably
35 want to set the logging level to `ERROR` or similar 35 want to set the logging level to `ERROR` or similar
36
37 Prev: [Generating static files](generate-static-files.md) | Up: [Home](../../REA DME.md) | Next: [XTM Integration](xml-sync.md)
OLDNEW
« no previous file with comments | « docs/usage/standalone-test-server.md ('k') | docs/usage/test-server.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld