From kde-i18n-doc Mon Oct 16 18:56:14 2006 From: "Friedrich W. H. Kossebau" Date: Mon, 16 Oct 2006 18:56:14 +0000 To: kde-i18n-doc Subject: Re: How to mass rename .po files? Message-Id: <200610162056.14878.friedrich.w.h () kossebau ! de> X-MARC-Message: https://marc.info/?l=kde-i18n-doc&m=116102501923893 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--Boundary-00=_OX9MFtfn6o+QAdd" --Boundary-00=_OX9MFtfn6o+QAdd Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi David, Am Montag, 16. Oktober 2006 13:25, schrieb David Faure: > On Sunday 15 October 2006 14:09, Friedrich W. H. Kossebau wrote: > > Is there a way/script to rename all existing .po files with the old name > > to the new name? > > Yes, scripts/rename_or_move in l10n, if you have a full l10n checkout. http://developer.kde.org/documentation/library/kdeqt/kde3arch/kde-i18n-howto.html#SECTION000123000000000000000 does only mention merging, but the problem looks similar. It says "Ask one of the KDE admins to merge the existing .po files.". So should there be a similar entry for renamed PO files? And one should ask sysadmins (with the full l10n checkout constraint = true) to do the mass renaming? Would the attached patch to the Howto then be okay? As there is a tex file as well as the html file, how is the html file created? Could you help, Gary? Regards Friedrich --Boundary-00=_OX9MFtfn6o+QAdd Content-Type: text/x-diff; charset="iso-8859-1"; name="kde-i18n-howto.tex-add_move.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="kde-i18n-howto.tex-add_move.patch" Index: kde-i18n-howto.tex =================================================================== --- kde-i18n-howto.tex (Revision 596104) +++ kde-i18n-howto.tex (Arbeitskopie) @@ -1162,18 +1162,18 @@ \subsection{Merging .po files} \label{sec:merging-po-files} -Question: I didn't follow your advice above and create a single \filename{.pot} file -for all the components in my application. The translators +Question: I didn't follow your advice above to create a single \filename{.pot} file +for all the components in my application./I misnamed the .pot file and would now like to correct the name. The translators have already created the \filename{.po} files and I don't want to wipe out all their hard work. What should I do now? Answer: Go ahead and correct all your code and Makefile.am's. Commit the changes to the KDE code repository. Ask one of the KDE admins -to merge the existing \filename{.po} files. She will need to know +to merge/rename the existing \filename{.po} files. She will need to know the exact names of all the \filename{.po} files, which module they are in, -and the name of the desired merged \filename{.po} file. The admin +and the name of the desired merged/renamed \filename{.po} file(s). The admin will have to wait for \cmd{scripty} to generate your new -\filename{.pot} file before doing the merge. +\filename{.pot} file(s) before doing the merge/rename. \subsection{Deleting obsolete .pot files} --Boundary-00=_OX9MFtfn6o+QAdd--