D25405: Fix Step infobrowser and examples localization
Yuri Chornoivan
noreply at phabricator.kde.org
Tue Nov 19 21:55:02 GMT 2019
yurchor added a comment.
In D25405#564958 <https://phabricator.kde.org/D25405#564958>, @aacid wrote:
> How does the STEP_BUILD_TRANSLATIONS thing work? Does one have to enable it manually?
Yes. That's written in the Phabricator review request description. You should explicitly add -DSTEP_BUILD_TRANSLATIONS=true to the cmake command to process the translations. I'm not a big CMake expert, but it should also work without these "if"s because of "foreach".
> I see some code like
>
> if(CURRENT_LANG)
> set(STEP_BUILD_TRANSLATIONS 1)
> endif(CURRENT_LANG)
>
>
>
> Does it mean that you can only build one language at a time?
No. I tested it to build for all the languages that have corresponding files in /po (e.g. uk and de) . The code you've mentioned has actually been *removed" from CMakeLists.txt.
REPOSITORY
R341 Step
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D25405
To: yurchor, #kde_edu, #localization, cordlandwehr
Cc: aacid, cordlandwehr, kde-edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20191119/f9bb8a59/attachment.html>
More information about the kde-edu
mailing list