Fix Step infobrowser and examples localization for 19.12

Albert Astals Cid aacid at kde.org
Tue Nov 26 23:17:57 GMT 2019


El dimarts, 26 de novembre de 2019, a les 19:46:44 CET, Yuri Chornoivan va escriure:
> Hi,
> 
> Step infobrowser localization was somewhat broken during 19.12 release cycle.
> 
> This can be fixed by the following differential revision:
> 
> https://phabricator.kde.org/D25405
> 
> The revision requires two new localization files, step_objinfo_files.po and 
> step_example_files.po, for a translation locale to be present in the source 
> archive of Step to localize descriptions, tutorials and examples at the build 
> time.

Just so that I understand this correctly, previously l10n teams could provide their own .html files that would be shown by step.

This is broken in the 19.12 branch.

Your fix improves the situation by creating a .po file and then creating those .html files on compile time (besides making the .html files be used at all)

Am I right?

If so, this is "a bit" of a "l10n freeze break", right? 

I mean it adds new strings in .po files that previously were translatable only translating the .html files manually (so they did not really influence stats)

Would you mind doing a quick round of asking in the l10n list if they would have any problem with having more .po stuff?

Besides that if you're confident we're not regressing the english text somehow I think it would probably be fine to have it in 19.12.

Cheers,
  Albert

> 
> The descriptions, tutorials and examples for locales without 
> step_objinfo_files.po and step_example_files.po will not be localized 
> silently. Step should readily build without them. The current script requires 
> Python 2 to build the translation but there is a patch to port it to Python 3.
> 
> https://phabricator.kde.org/D25532
> 
> Is it possible to include this fix into 19.12 release this late in the release 
> cycle or is it better to wait for the next release?
> 
> Thanks in advance for your answers.
> 
> Best regards,
> Yuri
> 
> 
> 






More information about the release-team mailing list