[Weblate] Re: Translations referring to intentionally non-existent files

2020-06-03 Thread Michal Čihař via Weblate
Hi

Michal Čihař via Weblate píše v St 03. 06. 2020 v 16:37 +0200:
> 
> If you have inconsistencies between PO and POT, how should Weblate
> determine which of these is correct?

On related topic, there is 
https://github.com/WeblateOrg/weblate/issues/3895

-- 
Michal Čihař | https://cihar.com/ | https://weblate.org/
___
Weblate mailing list -- weblate@lists.cihar.com
To unsubscribe send an email to weblate-le...@lists.cihar.com


[Weblate] Re: Translations referring to intentionally non-existent files

2020-06-03 Thread Michal Čihař via Weblate
Hi

Slávek Banko píše v Ne 17. 05. 2020 v 03:11 +0200:
> I think that special flags for source strings should be set according
> to 
> the POT file. I will give reasons why I consider this way to be
> correct:
> 
> 1. For standard flags set in POT files, these are decisive for
> setting 
> flags in PO files during msgmerge.

Thats why there is msgmerge and that way to works for flags extracted
from the source code - xgettext generates POT with the flags and
msgmerge injects them into the PO files. The POT file doesn't have to
be present in the repo (and in many cases it is not as it's a generated
file).

> 3. The source strings and their flags are read from the POT files, so
> there 
> makes sense for the special flags for the source strings in the
> Weblate to 
> be set in accordance with the POT files.

No, the POT files is not parsed at all - with bilingual files, you have
all information the translation file (PO in this case). The POT file is
solely used when creating new translations.

> 4. If special flags are not loaded for source strings from POT files,
> then 
> the flags displayed in the Weblate are inconsistent with the state of
> the 
> flags to be actually used.

If you have inconsistencies between PO and POT, how should Weblate
determine which of these is correct?

> 5. It is definitely easier to make an adjustment in generating POT
> files 
> than to make an adjustment in all existing PO files.
> 
> 6. I will give the best reason last: Setting special flags by
> existing PO 
> files simply does not work at all!
> 
> On one component, I tried to add flags to existing PO files:
> 
> https://mirror.git.trinitydesktop.org/cgit/abakus/commit/?id=c9cfcec56a
> 
> 
> Subsequently, Weblate automatically updated the PO files according to
> the 
> POT and the added ignore-inconsistent flags were immediately removed:
> 
> https://mirror.git.trinitydesktop.org/cgit/abakus/commit/?id=6fcf93d2ee

Yes, msgmerge does remove unknown flags. On he other side, if you
specify flags in the PO files, the msgmerge will remove them in case
they are not present in the POT file.

-- 
Michal Čihař | https://cihar.com/ | https://weblate.org/
___
Weblate mailing list -- weblate@lists.cihar.com
To unsubscribe send an email to weblate-le...@lists.cihar.com


[Weblate] Re: Weblate for open source projects still active?

2020-06-03 Thread Michal Čihař via Weblate
Hi
Getting the license information is not the bottleneck. The problem is
that we're configuring the projects instead of letting people configure
them and then ask for approval. This is something we need to implement
soon to be able to deal with increased interest in using Weblate.


Yaron Shahrabani píše v Čt 21. 05. 2020 v 00:21 +0300:
> I know that some of the competitors are using some sort of automated
> License parsing based on the repo, might just do the trick.
> Yaron Shahrabani
> > 
> 
> On Wed, May 20, 2020 at 9:32 PM David Planella <
> david.plane...@gmail.com> wrote:
> > Thanks a lot Michal for your answer.
> > 
> > Is there anything I can do on my side? What's the general
> > expectation for an ETA, is it more like weeks, months?
> > Missatge de Michal Čihař via Weblate  del
> > dia dc., 20 de maig 2020 a les 20:24:
> > > Hi
> > > Yes it is. Unfortunately we have huge backlog of requests and are
> > > slow in processing them. What we really need is to automate most
> > > of that workflow to get rid of the manual steps needed from our
> > > side.
> > > -- 
> > >   Michal Čihař | https://cihar.com/ | https://weblate.org/
> > > 
> > > 
> > > David Planella píše v St 20. 05. 2020 v 20:07 +0200:
> > > > Hi,
> > > > 
> > > > I decided to try hosted Weblate for one or my open source
> > > > projects, and applied for the open source program as per the
> > > > info on https://weblate.org/en/hosting (Gratis for libre
> > > > projects).
> > > > 
> > > > It's been about two weeks, and other than an automated reply
> > > > from the RT system, I've not heard about the status of the
> > > > application (support.weblate.org #1521).
> > > > 
> > > > Is the open source program still active? If it is, what's the
> > > > expected processing time for applications?
> > > > 
> > > > Thanks,
> > > > David.
> > > > 
> > > > ___Weblate mailing
> > > > list -- weblate@lists.cihar.com
> > > > To unsubscribe send an email to weblate-le...@lists.cihar.com
> > > 
> > > ___
> > > 
> > > Weblate mailing list -- weblate@lists.cihar.com
> > > 
> > > To unsubscribe send an email to weblate-le...@lists.cihar.com
> > > 
> > 
> > ___
> > 
> > Weblate mailing list -- weblate@lists.cihar.com
> > 
> > To unsubscribe send an email to weblate-le...@lists.cihar.com
> > 
> 
> ___Weblate mailing list
> -- weblate@lists.cihar.com
> To unsubscribe send an email to weblate-le...@lists.cihar.com
-- 
Michal Čihař | https://cihar.com/ | https://weblate.org/


___
Weblate mailing list -- weblate@lists.cihar.com
To unsubscribe send an email to weblate-le...@lists.cihar.com