Issues on updating translations
Johnny Jazeix
jazeix at gmail.com
Fri Nov 6 20:56:28 GMT 2020
Hi,
For GCompris, to retrieve the translations from the previous version, I
created a small python script to merge 2 po files:
https://invent.kde.org/education/gcompris/-/blob/master/tools/convertPoToTsFiles/mergePo.py
If you can for each file finding the new one and apply the script (I didn't
dig much but a "for-loop + find + probably some magic" trick), you should
be able to keep the translations you did.
If you are not fluent in bash or any language to do the matching, I can try
to find the good command.
Johnny
Le ven. 6 nov. 2020 à 20:19, Antoni Bella Pérez <antonibella5 at yahoo.com> a
écrit :
> Hi Enol,
>
> Did you make changes before updating the source?
>
> All I can think of is saving a diff from local changes, downloading
> sources
> again, and apply changes line by line. :(
>
> or
>
> Copy all modified files to an external temporary folder and move them to
> the
> local copy in their correct folder - updated sources. Then apply the "File
> ->
> Update file from template" menu item over the folder tree.
>
> Does anyone have any other solution?
>
> El divendres, 6 de novembre de 2020, a les 10:08:42 CET, Enol Puente va
> escriure:
> > Hi,
> >
> > After being inactive some months, I updated Plasma translations but I
> noted
> > that the folder structure has changed. I cannot svn-commit my changes due
> > to ast locale still uses the old folder structure and they conflicts
> every
> > time. Is there some script to fix this issue? How can I fix it?
> >
> > Thanks in advance. Bye.
>
> Regards
> Toni
> --
> Dubta que les estrelles siguin foc.
> Dubta que el Sol es mogui.
> Dubta que la veritat sigui mentida.
> Però no dubtis mai que t'estimo.
> - William Shakespeare
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-i18n-doc/attachments/20201106/c8b77f55/attachment.htm>
More information about the kde-i18n-doc
mailing list