Hi Chris,
2012.07.10 08:48, Chris Leonard rašė:
Is there a logical reason that so many of the PO files for LibreOffice
have seemingly extraneous msgctxt comments that are simply a
repetition of the location?
Just one extreme example:
scp2/source/xsltfilter.po
Is it really necessary to translate "XSLT Sample Filters" twice (as
enforced by the msgctxt comment). Is there ever going to be a
difference in the way the first and second instance is translated? Is
this just some hack to address builds in Windows that don't use
gettext properly?
I'm very interested to understand the logic behind this curious
choice. There are many downsides to this practice (abuse of msgctxt)
which I could describe at greater length if needed.
in addition to what Martin wrote, there's another thing: LibreOffice
does NOT use those .po files as they are. They are converted to a
different type of L10n resource during compilation, and that other type
of resource is what ends up being used in LibO, not just on Windows, but
in all operating systems. With that in mind, you could also say that our
conversion procedures are simply suboptimal, and that might be true
somewhat, but they are what they are...
I believe there have been thoughts about migrating to gettext properly,
but considering the amount of work it would take and the impact, no
wonder it hasn't happened (or perhaps even started) yet.
Rimas
--
Unsubscribe instructions: E-mail to l10n+h...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/l10n/
All messages sent to this list will be publicly archived and cannot be deleted