X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=README.localization;h=7e4d3d7cdbe628103efd14130aeeff97ca8a156a;hb=0b68e67678dc37c2fa8fe7ed0cf057a687b4c797;hp=a10c0d18ce551e1d64aba1e5eb3de427925cc266;hpb=ec85f994fef533c14a03e8760f6b0b6845313ec9;p=features.git diff --git a/README.localization b/README.localization index a10c0d18ce..7e4d3d7cdb 100644 --- a/README.localization +++ b/README.localization @@ -180,8 +180,21 @@ typical places in .po files, where to fix the translation, can be seen on the following commit: https://www.lyx.org/trac/changeset/38169. If you need to manually regenerate the layouttranslations file from .po files -run `make ../lib/layouttranslations' in the po directory. The Python polib -library is needed for building the output file. +- Under Linux: If using autotools, execute the command + `make ../lib/layouttranslations' + in the po directory. If using CMake, execute the command + `make layouttranslations1' + in the build directory. + The Python polib library is needed for building the output file. +- Under Windows: + 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" + withing the python installation folder. + 1.2 execute the command + pip install polib + 2. close the command prompt and open the file "lyx.sln" with MSVC. You find + file in the compilation result folder you set for LyX + 3. right click in MSVC on the target "layouttranslations1" and choose "Rebuild" Optionally - to quickly check whether some new translatable strings appeared for your language you can always check ../lib/layouttranslations.review.