Re: Finding a string in translations
sudo msgfmt ./gnome-app-install.po -o /usr/share/locale-langpack/fa/LC_MESSAGES/gnome-app-install.mo And Now my menu is Persian! Thank you very much. Always add '-c' and '--check-accelerators=_' arguments to msgfmt when you compile Gnome translation files. These tests improve your translation work by checking translation for errors. -- Tomas ___ gnome-i18n mailing list gnome-i18n@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-i18n
Re: Finding a string in translations
روز پنجشنبه، 2008-05-22 ساعت 09:33 +0300، Tomas Kuliavas نوشت: sudo msgfmt ./gnome-app-install.po -o /usr/share/locale-langpack/fa/LC_MESSAGES/gnome-app-install.mo And Now my menu is Persian! Thank you very much. Always add '-c' and '--check-accelerators=_' arguments to msgfmt when you compile Gnome translation files. These tests improve your translation work by checking translation for errors. Tanx for your concern, I used this command: sudo msgfmt -c -v --check-accelerators=_ ./gnome-app-install.po -o /usr/share/locale-langpack/fa/LC_MESSAGES/gnome-app-install.mo And this is the output: 38 translated messages, 66 untranslated messages. With no errors. But when I start gnome-app-installer (from a console) I get this error message: gnome-app-install Traceback (most recent call last): File /usr/bin/gnome-app-install, line 30, in module main() File /usr/lib/python2.5/site-packages/AppInstall/activation.py, line 360, in main parser = OptionParser() File /usr/lib/python2.5/optparse.py, line 1199, in __init__ self.set_usage(usage) File /usr/lib/python2.5/optparse.py, line 1274, in set_usage self.usage = _(%prog [options]) File /usr/lib/python2.5/gettext.py, line 581, in gettext return dgettext(_current_domain, message) File /usr/lib/python2.5/gettext.py, line 545, in dgettext codeset=_localecodesets.get(domain)) File /usr/lib/python2.5/gettext.py, line 493, in translation t = _translations.setdefault(key, class_(open(mofile, 'rb'))) File /usr/lib/python2.5/gettext.py, line 180, in __init__ self._parse(fp) File /usr/lib/python2.5/gettext.py, line 314, in _parse plural = v[1].split('plural=')[1] IndexError: list index out of range Error in sys.excepthook: Traceback (most recent call last): File /usr/lib/python2.5/site-packages/apport_python_hook.py, line 78, in apport_excepthook report_file = open(pr_filename, 'wt') IOError: [Errno 13] Permission denied: '/var/crash/_usr_bin_gnome-app-install.1000.crash' Original exception was: Traceback (most recent call last): File /usr/bin/gnome-app-install, line 30, in module main() File /usr/lib/python2.5/site-packages/AppInstall/activation.py, line 360, in main parser = OptionParser() File /usr/lib/python2.5/optparse.py, line 1199, in __init__ self.set_usage(usage) File /usr/lib/python2.5/optparse.py, line 1274, in set_usage self.usage = _(%prog [options]) File /usr/lib/python2.5/gettext.py, line 581, in gettext return dgettext(_current_domain, message) File /usr/lib/python2.5/gettext.py, line 545, in dgettext codeset=_localecodesets.get(domain)) File /usr/lib/python2.5/gettext.py, line 493, in translation t = _translations.setdefault(key, class_(open(mofile, 'rb'))) File /usr/lib/python2.5/gettext.py, line 180, in __init__ self._parse(fp) File /usr/lib/python2.5/gettext.py, line 314, in _parse plural = v[1].split('plural=')[1] IndexError: list index out of range Have any Idea? ___ gnome-i18n mailing list gnome-i18n@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-i18n
Re: Finding a string in translations
روز پنجشنبه، 2008-05-22 ساعت 10:02 +0300، Ihar Hrachyshka نوشت: On Thu, 2008-05-22 at 11:27 +0430, Mohammad Foroughi wrote: روز پنجشنبه، 2008-05-22 ساعت 09:33 +0300، Tomas Kuliavas نوشت: sudo msgfmt ./gnome-app-install.po -o /usr/share/locale-langpack/fa/LC_MESSAGES/gnome-app-install.mo And Now my menu is Persian! Thank you very much. Always add '-c' and '--check-accelerators=_' arguments to msgfmt when you compile Gnome translation files. These tests improve your translation work by checking translation for errors. Tanx for your concern, I used this command: sudo msgfmt -c -v --check-accelerators=_ ./gnome-app-install.po -o /usr/share/locale-langpack/fa/LC_MESSAGES/gnome-app-install.mo And this is the output: 38 translated messages, 66 untranslated messages. With no errors. But when I start gnome-app-installer (from a console) I get this error message: gnome-app-install Traceback (most recent call last): File /usr/bin/gnome-app-install, line 30, in module main() File /usr/lib/python2.5/site-packages/AppInstall/activation.py, line 360, in main parser = OptionParser() File /usr/lib/python2.5/optparse.py, line 1199, in __init__ self.set_usage(usage) File /usr/lib/python2.5/optparse.py, line 1274, in set_usage self.usage = _(%prog [options]) File /usr/lib/python2.5/gettext.py, line 581, in gettext return dgettext(_current_domain, message) File /usr/lib/python2.5/gettext.py, line 545, in dgettext codeset=_localecodesets.get(domain)) File /usr/lib/python2.5/gettext.py, line 493, in translation t = _translations.setdefault(key, class_(open(mofile, 'rb'))) File /usr/lib/python2.5/gettext.py, line 180, in __init__ self._parse(fp) File /usr/lib/python2.5/gettext.py, line 314, in _parse plural = v[1].split('plural=')[1] IndexError: list index out of range Error in sys.excepthook: Traceback (most recent call last): File /usr/lib/python2.5/site-packages/apport_python_hook.py, line 78, in apport_excepthook report_file = open(pr_filename, 'wt') IOError: [Errno 13] Permission denied: '/var/crash/_usr_bin_gnome-app-install.1000.crash' Original exception was: Traceback (most recent call last): File /usr/bin/gnome-app-install, line 30, in module main() File /usr/lib/python2.5/site-packages/AppInstall/activation.py, line 360, in main parser = OptionParser() File /usr/lib/python2.5/optparse.py, line 1199, in __init__ self.set_usage(usage) File /usr/lib/python2.5/optparse.py, line 1274, in set_usage self.usage = _(%prog [options]) File /usr/lib/python2.5/gettext.py, line 581, in gettext return dgettext(_current_domain, message) File /usr/lib/python2.5/gettext.py, line 545, in dgettext codeset=_localecodesets.get(domain)) File /usr/lib/python2.5/gettext.py, line 493, in translation t = _translations.setdefault(key, class_(open(mofile, 'rb'))) File /usr/lib/python2.5/gettext.py, line 180, in __init__ self._parse(fp) File /usr/lib/python2.5/gettext.py, line 314, in _parse plural = v[1].split('plural=')[1] IndexError: list index out of range Show us a gettext header for your translation and a generic 'plural' specification for your language. I think they are different, isn't it? Have any Idea? ___ gnome-i18n mailing list gnome-i18n@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-i18n Tanx alot I fixed it: there was a line like this: Plural-Forms: In my header, I just deleted it and now everything is OK. Tanx again. ___ gnome-i18n mailing list gnome-i18n@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-i18n
Obsolete packages
Hi, Currently in damned-lies there are many obsolete packages that should probably be deleted or moved into an obsolete release set. They may unnecessarily lure translators into wasting time translating packages that will never be released. Examples include: * glade (not glade-3). * gaelon (no longer Gnome's browser, not aware of any working on it). * gtetrinet (orphaned?) * pan/pan2: any plans for these? Any thoughts? Djihed ___ gnome-i18n mailing list gnome-i18n@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-i18n
Re: Finding a string in translations
On Do, 2008-05-22 at 09:33 +0300, Tomas Kuliavas wrote: sudo msgfmt ./gnome-app-install.po -o /usr/share/locale-langpack/fa/LC_MESSAGES/gnome-app-install.mo And Now my menu is Persian! Thank you very much. Let this excitement keep on encouraging you! Always add '-c' and '--check-accelerators=_' arguments to msgfmt when you compile Gnome translation files. These tests improve your translation work by checking translation for errors. Of course, if you are serious about quality, you should look at something like pofilter: http://translate.sourceforge.net/wiki/toolkit/pofilter I have customised the behaviour of some of the tests for Persian (and other languages), but some of the tests might still give some incorrect error reports at times (you can just ignore them, of course). Please let us know if there are more customisations for a language that we can add. For example, we recently improved our handling of French « quoting » to avoid some incorrect results about punctuation we had before. Keep well Friedel ___ gnome-i18n mailing list gnome-i18n@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-i18n
New Coordinator for GU_IN
Hi All, I am the current coordinator for Gujarati (GU). And I would like to have Ankit Patel takeover as the new coordinator for Gujarati (GU). Ankit and I have worked together from the beginning and he is taking care of almost all the Gnome GU work anyway. His email address is: ankit644 at yahoo.com -- :Nirav ___ gnome-i18n mailing list gnome-i18n@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-i18n