Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index

Hi Andras, *,

On Thu, May 12, 2016 at 4:44 PM, Christian Lohmaier
<> wrote:
On Thu, May 12, 2016 at 4:11 PM, Andras Timar <> wrote:
On Thu, May 12, 2016 at 3:45 PM, Christian Lohmaier
<> wrote:
On Mon, Feb 15, 2016 at 11:05 AM, Andras Timar <> 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

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

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

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)


To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


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.