Bugzilla – Bug 687311
Translations for desktop files completely missing for Norwegian Nynorsk
Last modified: 2011-06-16 16:41:39 UTC
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:2.0.0) Gecko/20100101 Firefox/4.0 I use the Norwegian Nynorsk translation of KDE on openSUSE 11.4, and even though I have installed all relevant language packs, the menu entries (names/descriptions for applications) and all the categories in KDE system settings are shown in English. (The actual applications are correctly shown translated when started, though.) I believe the reason is that the Norwegian Nynorsk (language code: nn) translation file is accidently not included in the package ‘desktop-translations’. Reproducible: Always Steps to Reproduce: 1. Change language/locale to Norwegian Nynorsk (nn) 2. Log out and in again 3. Observe that all entries on the K-menu are still shown in English, and the same is true for the categories in the KDE system settings
Hi Karl O. Please grab my quick and dirty try at fixing this from http://download.opensuse.org/repositories/home:/Zaitor:/branches:/OBS_Maintained:/desktop-translations/openSUSE_11.4_standard/ Fileversion should be desktop-translations-11.4-8.17.1.noarch.rpm ( or higher) Note that when writing this it is not published yet, so hold back until you see the right version is published. ---- The spec file does contain a rather notevorthy part about Norwegian Bokmål If something similar is needed for nn is unknown. %install pushd po for lang in *; do if test "$lang" = "nb_no"; then continue fi if test -f $lang; then rm $lang else
I tried installing the file desktop-translations-11.4-8.18.1.noarch.rpm from your repository, but it still didn’t contain any translations for Norwegian Nynorsk.
I think. we first must add "nn" to https://svn.berlios.de/svnroot/repos/opensuse-i18n/branches/openSUSE-11_4-Branch/lcn (and to the trunk) and run the 50-tools/desktop-files-update.sh script. Then we must call PREPARE_PACKAGE to re-package desktop-translations.tar.bz2 from the SVN. I'm wondering whether we should add some more languages to our translation SVN (even if there is no active translator for those languages?)?
coolo, I want to add the 'nn' desktop translations to openSUSE 11.4. Can you please change the URLs in https://svn.berlios.de/svnroot/repos/opensuse-i18n/branches/openSUSE-11_4-Branch/lcn/50-tools/desktop-files-update.urls accordingly?
don't recrawl. Take the nn files from factory and merge against 11.4's pot files. Everything else is insanity - even though it might not be perfect.
Now available for testing: OBS: home:keichwa:branches:openSUSE:11.4:Update:Test/desktop-translations And SR done: osc sr -m'add nn' home:keichwa:branches:openSUSE:11.4:Update:Test desktop-translations created request id 67528
This was a sr to itself... Next try: osc sr -m'software update' home:keichwa:branches:openSUSE:11.4:Update:Test desktop-translations openSUSE:11.4:Update:Test created request id 67699
I see this bug is marked as ‘fixed’, but I can’t even find the file for testing. I have looked in http://download.opensuse.org/repositories/home:/keichwa:/branches:/openSUSE:/ but can’t find anything for openSUSE 11.4 here. Where do I find the file? (Sorry if this is a dumb question; I’m pretty new to openSUSE.)
(In reply to comment #8) > I see this bug is marked as ‘fixed’, but I can’t even find the file for > testing. I have looked in > http://download.opensuse.org/repositories/home:/keichwa:/branches:/openSUSE:/ > but can’t find anything for openSUSE 11.4 here. Where do I find the file? > (Sorry if this is a dumb question; I’m pretty new to openSUSE.) My fault, I forgot to enable the 11.4 repo for publishing. Now, here is the package (desktop-translations): http://download.opensuse.org/repositories/home:/keichwa:/branches:/openSUSE:/11.4:/Update:/Test/openSUSE_11.4/noarch/ It contains /usr/share/locale/nn/LC_MESSAGES/desktop_translations.mo . I'll release is together with bug 685148
I can confirm that the new RPM file fixes the bug. However, just installing it and logging out and in again, or even rebooting, didn’t help. I had to change the locale to another language and then change it back to Norwegian Nynorsk for the translations to show up.
(In reply to comment #10) > I can confirm that the new RPM file fixes the bug. Thanks for verification! > However, just installing it > and logging out and in again, or even rebooting, didn’t help. I had to change > the locale to another language and then change it back to Norwegian Nynorsk for > the translations to show up. Switching locales is sometimes a experience. The behavior you describe could be a different bug; maybe, it is just an implementation limitation. If you think it is serious enough, please file a detailed bug about it, so developers will be able to reproduce it.
There is a cache that will only update if the .desktop files change, not if the .mo file changes. Possible to change, but rather ugly.
Is this cache *never* updated unless the .desktop files change? That would mean that it’s impossible to supply improved translation for .desktop files. Where is this cache, and how can one manually update/recreate it?
check kbuildsycoca4 --help
update released
Update released for: desktop-translations Products: openSUSE 11.4 (i586)