[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    Re: Locale x-test in kf5
From:       Albert Astals Cid <aacid () kde ! org>
Date:       2014-10-14 19:25:08
Message-ID: 1450467.DBC28U7NOo () xps
[Download RAW message or body]

El Dimarts, 14 d'octubre de 2014, a les 21:06:41, Yuri Chornoivan va escriure:
> написане Tue, 14 Oct 2014 20:59:04 +0300, Albert Astals Cid
> 
> <aacid@kde.org>:
> > El Dimarts, 14 d'octubre de 2014, a les 15:14:07, Burkhard Lück va
> > 
> > escriure:
> >> Hi translators,
> >> 
> >> my favorite locale x-test to check translation issues and evil fixed
> >> layout is somehow crippled in kf5
> >> 
> >> 1) we have no translations for Qt like kdeqt.po with 1985 msgs in kde4
> >> 
> >> 2) Qt does not load a translation from locale x-test, because x-test is
> >> a
> >> KDE internal locale and therefore unknown to Qt, so it will refuse to
> >> load
> >> these translations, even if a catalog with these translations exists.
> >> This affects
> >> qtbase_*.ts with 1444 msgs
> >> all catalogs in frameworks/*_qt.po with 1058 msgs
> >> 
> >> To make locale x-test again usable for me I have performed these steps:
> >> 
> >> * convert qtbase_de.ts from my qt 5.3 sources  to the gettext template
> >> qtbase_de.pot
> >> * generate a qtbase_de.po in x-test with msgstr's xxfooxx
> >> * convert the qtbase_de.po to qtbase_zu.qm
> >> * install locale KDE x-test in + qtbase_zu.qm  in kf5/share/locale/zu
> >> 
> >> Now x-test is usable again for me under the new language name "zu".
> >> 
> >> My choice for the faked x-test locale was Zulu (zu), because zu is in
> >> kf5/share/locale/kf5_all_languages, has zero translations in kde and is
> >> in
> >> ISO 639-1 and therefore known to Qt as well.
> >> 
> >> Now I have most of x-text translations back, except the translations
> >> from
> >> desktop files, which have no msgs for locale zu.
> >> 
> >> What about if we use this recipe, rename x-test to zu (or select another
> >> locale from 639-1) to get a fully supported locale x-test with a
> >> different
> >> name again?
> > 
> > To me it doesn't seem polite belittling any language and converting it
> > into x-
> > test.
> > 
> > We should try to find if there's a way to make Qt loading other
> > languages, i
> > know it's much harder but really how would you feel if you're a Zulu
> > speaker
> > when reading that we decided your language sucks and we're going to use
> > it for
> > testing?
> > 
> > Cheers,
> > 
> >   Albert
> 
> Hi,
> 
> I think that some artificial/fun locale like Klingon (tlh) or
> eu_US@piglatin (used for testing in Ubuntu) can be used for this. Can
> anybody confirm?

Do you have any link to the eu_US@piglatin think?

Cheers,
  Albert

> 
> Best regards,
> Yuri

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic