octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 5.0.0 Release Checklist - Item #12 - Internationalization


From: Torsten
Subject: Re: 5.0.0 Release Checklist - Item #12 - Internationalization
Date: Sun, 30 Dec 2018 17:05:06 +0100

On 30.12.18 14:49, Andreas Weber wrote:
> Am 25.12.18 um 23:05 schrieb Torsten:
>> On 25.12.18 17:45, Andreas Weber wrote:
>>> As far as I can see de_DE.ts is already complete?
>>
>> In my repo (stable branch), there are several translations missing in
>> de_DE.ts, e.g. the settings-dialog (end of the list in linguist) only
>> has 126 translated string of 144 total strings.
> 
> Oh sorry, my bad. I thought we are still on default until the 5.0 release.
> 
> Can we please have a shell script inside libgui or libgui/languages to
> do the update (or at least document the exact steps to do it)?
> 
> Years ago I've used something like:
> 
> octave-src/libgui$ lupdate -recursive -no-obsolete -locations relative
> src qterminal graphics -ts languages/*ts
> 
> Thank you, Andy

Hi Andy,

Your command is the one I am using, too (the option -recursive is the
default). In the script which I am using, there is also a check for
language files of the qt and qscintilla distribution for the currently
updated language. If these files are not present, some header files of
qt and qscintilla are also scanned for translatable strings in order to
get a fully translated octave program.

Please find attached the script, which has to be called from within the
folder libgui/languages. Adding it to the repo is a good idea but before
this, I would like to make it more (e.g., detecting qt and qscintilla
install path). However, providing the relevant qt and qscintilla headers
for languages that are not supported by qt and/or qscintilla has to be
done manually.

If we decide not to translate qt/qscintilla messages but only the octave
specific strings, we can drop the extra scan of qt/qscintilla headers
and simplify the update procedure of the language files.

Best regards
Torsten





reply via email to

[Prev in Thread] Current Thread [Next in Thread]