> On Oct 16, 2024, at 2:27 PM, Peter Kovacs <pe...@apache.org> wrote:
> 
> hi all.
> 
> 
> mechtilde has set up a translation git repository for the process to save 
> translations in case something goes wrong with the conversion.
> 
> I added now a githup repository and i would like to convert our scripts that 
> they GitHub create a po file if a sdf file is checked in and vice versa.
> 
> why do  we need this?
> 
> the translation is done in po files while Apache OpenOffice uses the self 
> invented translation file sdf. sdf files are about 50% smaller then po files.
> 
> changes in the code are extracted as the sdf file for us, which is used to 
> introduce new text into the translation process
> 
> 
> Does pootle play a role?
> 
> not directly. po files are supported by all the translation tools while sdf 
> is not directly supported. But ther is an library that can do the conversion.
> 
> 
> what i like to do is:
> 
> linux build bot -> sdf us -> github -> conversion -> po files -> transation 
> tool -> translator work -> po languages -> github -> conversion -> sdf file 
> -> language release packaging.
> 
> 
> may be we could maintain multiple versions if our sdf file stays backward 
> compatible. my understanding is there are breaking changes between 4.1 and 
> 4.2.
> 
> 
> What is the discussion about?
> 
> I would like to know your thoughts about if we should try to keep everything 
> in one repo and branch or split into a po branch and sdf pranch. or even into 
> 2 repos?

I'm for a single repository. Since an SDF file and its PO file are produced 
together it’s probably easier to have them each on the same branch. I 
understand that we do need to split stuff up because this is too much for a 
single branch.

What if we had a branch for each language? Would that help?


> the one repo solution we already hit githubs limit of 2GB per push for the 
> initial split. so the thought started to try to avoid a big file update on 
> github. each language takes about 60 mb .
 
How many languages do we have in Pootle?

Best,
Dave

> 
> 
> your thoughts?
> 
> cheers.
> 
> petko


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org

Reply via email to