Hi Andras, *,
On Thu, May 12, 2016 at 4:44 PM, Christian Lohmaier
<cloph@documentfoundation.org> wrote:
On Thu, May 12, 2016 at 4:11 PM, Andras Timar <timar74@gmail.com> wrote:
On Thu, May 12, 2016 at 3:45 PM, Christian Lohmaier
<cloph@documentfoundation.org> wrote:
On Mon, Feb 15, 2016 at 11:05 AM, Andras Timar <timar74@gmail.com> wrote:
I'd like to ask you to add LibreOffice Online project to Pootle.
Sorry it took so long, but it's finally available in Pootle
https://translations.documentfoundation.org/projects/libo_online/
Thanks! Why loleaflet-ui-XX.po is missing for most of the languages?
Bug in pootle's update_stores that I have yet to pin down.
Found the cause - the problem that triggers it is that the
basefilename is "loleaflet-ui-<lang>" - the regular expression that
pootle uses starts matching there and then gets confused.
help works since that has enough letters to not be in the match.
Languages with "_" in langauge-identifier do get it,
Since the regular expression also covers an optional region part...
all others don't
for some reason and if your langauge-code contains "-" you get
nothing....
that would also match ca-valencia and kmr-Latn, if only the second
part would be max. three characters..
Solved it by adding a simple substring match instead.
Upstream probably needs to refactor the filename-filter-function to
also pass in the name of the pot, then a universal matching would be
possible.
NOTE: libo_ui and libo_help are not affected, since those use a
one-directory-per-language setup (non-gnu in pootle), and for those
there is no filter, all files in the language directory are read-in
without running a filter on the filename)
android and website project do fall into the bug, but it is not
triggered as the basename of those doesn't contain "-" or "_" (and
there are no ca-valencia and kmr-Latn translations)
ciao
Christian
--
To unsubscribe e-mail to: l10n+unsubscribe@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
Context
- Re: [libreoffice-l10n] Language Support, Spelling Check, Grammar Check, Proofreading, Autocorrect. (continued)
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.