From kde-i18n-doc Mon May 14 04:58:28 2007 From: Sahachart Anukulkitch Date: Mon, 14 May 2007 04:58:28 +0000 To: kde-i18n-doc Subject: Re: How to create folder in trunk/l10n-kde4 Message-Id: <200705141458.28438.drrider () gmail ! com> X-MARC-Message: https://marc.info/?l=kde-i18n-doc&m=117911874915275 On Sunday 06 May 2007 04:38:11 Chusslove Illich wrote: > > [: Eduard Werner :] > > I want to move the translations for Upper Sorbian to trunk/l10n-kde4. > > There is no folder hsb there, however. How do I proceed? > > You want to put there translations from branches/stable/l10n? In that case, > you can just copy them from stable branch and erase svn internals: > > cd $KDESVN > cp -r branches/stable/l10n/hsb trunk/l10n-kde4/ > find trunk/l10n-kde4/hsb -iname '.svn' | xargs rm -rf > > then convert to KDE4 format: > > svn up trunk/l10n-kde4/scripts > cd trunk/l10n-kde4/hsb/messages > ../../scripts/conversion/kdepo2std.pl kdelibs/kdelibs.po > > and finally add everything to the repository: > > cd ../.. > svn add hsb > svn commit hsb -m "Converted from KDE3." > > I did all these steps on my machine but the final svn commit, so I can > commit if you want. > > Also, I'm a bit puzzled about the plural setting. That message in your > kdelibs.po which determines plural (used in KDE3) is set to Slovenian, but > the plural header itself (which is used in KDE4) is not matching the > Slovenian one. Which one is correct? Hi, I tried to convert translation POs from trunk branch, which are more completed, to KDE4's PO format using scripts/conversion/kdepo2std.pl. However, the script returned '*** File with plural header kdelibs/kdelibs.po does not contain a correct number of plural forms.' In my language, Thai, there's no plural form. Is it a problem? And how can I solve this? I'm using Kubuntu Feisty with gettext 0.16.1. Cheers, DrRider