README.localization: layouttranslations1 on Linux

The target layouttranslations1 also works when using CMake on Linux.

(cherry picked from commit ee5f05bd1c)
This commit is contained in:
Scott Kostyshak 2018-02-22 15:09:53 -05:00
parent 06563275d7
commit 8fa5b001d8

View File

@ -180,10 +180,12 @@ typical places in .po files, where to fix the translation, can be seen on the
following commit: https://www.lyx.org/trac/changeset/38169. following commit: https://www.lyx.org/trac/changeset/38169.
If you need to manually regenerate the layouttranslations file from .po files If you need to manually regenerate the layouttranslations file from .po files
- Under Linux: execute the command - Under Linux: If using autotools, execute the command
`make ../lib/layouttranslations' `make ../lib/layouttranslations'
in the po directory. The Python polib library is needed for building the output in the po directory. If using CMake, execute the command
file. `make layouttranslations1'
in the build directory.
The Python polib library is needed for building the output file.
- Under Windows: - Under Windows:
1. install the Python extensions "polib". To do this, 1. install the Python extensions "polib". To do this,
1.1 open a commen line prompt in the folder where you find the file "pip.exe" 1.1 open a commen line prompt in the folder where you find the file "pip.exe"