Skip to content

Commit b80d978

Browse files
committed
small update to translation section
1 parent 032e5dd commit b80d978

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

technical/translation.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,11 +247,12 @@ Next, this file must be converted to a `*.qm` file using the `lrelease` tool (di
247247
## Synchronizing Translations with CrowdIn
248248

249249
This section is for CrowdIn administrators and FreeCAD Maintainers. Approximately once per week, FreeCAD's source tree should be synchronized with CrowdIn. This is a multi-step process that may be partially automated in the future. For the time being:
250-
1. Ensure you have at least Qt 6.4 available on your system, and use the `updatets.py` script in src/Tools to extract the translatable strings from the FreeCAD source code. You do not need to be compiling FreeCAD with this version of Qt, but you must use it to extract the strings, it addresses many longstanding bugs with earlier extractors.
250+
1. Ensure you have at least Qt 6.4 available on your system, and use the `updatets.py` script in src/Tools to extract the translatable strings from the FreeCAD source code. You do not need to be compiling FreeCAD with this version of Qt, but you must use it to extract the strings, it addresses many longstanding bugs with earlier extractors. Alternatively, you can also launch `updatecrowdin.py gather` which will under the hood run update.ts.
251251
2. Examine the output from that script to ensure there were no errors that prevented some of the workbenches from being extracted.
252252
3. If all sections of the code completed appropriately, use the `updatecrowdin.py` in src/Tools with the `update` subcommand to send the new TS files to CrowdIn. You will need a CrowdIn API key in your home directory for this to work: see the comments at the top of that script for details.
253253
4. Next, using `updatecrowdin.py build` (or manually on the CrowdIn website) trigger a build of the current translation files. This process will take a few minutes. You can check the status with `updatecrowdin.py build-status`, or by visiting the CrowdIn website.
254254
5. Use `updatecrowdin.py download` to get a new copy of the translations.
255255
6. Create a new PR branch using git.
256256
7. Use `updatecrowdin.py apply` to move the TS files into place, and to generate the QM files for the parts of the code where that is not yet part of the build process (the Python workbenches).
257257
8. Create a PR with the changed files.
258+

0 commit comments

Comments
 (0)