Thomas Vasiliadis.de wrote: > > Am Mi, 3.02.2010, 06:21 schrieb Tomas Kuliavas: >> Thomas Vasiliadis.de wrote: >>> >>> Hallo, >>> >>> Im running SM 1.4.19 mainly for German Users. >>> Some Strings are displayed in English, so I startet to do the >>> translation >>> myself. >>> The String "Add to Addressbook" is displayd in English but I found the >>> string was allready translated both at squirrelmail.po and >>> abook_import_export.po. >>> Why? >>> What did I wrong? >>> I understood, English Strings will only be displayed as default if >>> there >>> is no translation in both the plugin and the SM language file. >>> Is this right? >>> >> >> After you update .po file you must recompile .mo file. If you have PHP >> with >> gettext support, translations are read from binary .mo files. If I >> remember >> correctly, PoEdit has menu option which compiles translation. In some >> cases >> you must restart web service after you recompile translations. >> >> If recompilation of .mo files does not fix the issue, you should show >> where >> exactly this "Add to Addressbook" text is displayed and show your >> squirrelmail.po file. > > I tried to manipulate the files > > \locale\de_DE\LC_MESSAGES\squirrelmail.po and > \plugins\notes\locale\notes.po > > Poedit compiles the .mo files automaticaly. > > Some strings can be changed (e.G. "Unthread View" of the overview frame) > other not (e.G. "Select the IMAP commands you would like to run. " of the > IMAP server information Plugin or the "Rewrap" Button of the compose > screen). > Can someone tell me why? > I understood, that SM takes the translations first from the Plugin's local > folder, second from the local folder of SM and last from the > squirrelmail.po file. > Is this correct? > No. Strings are taken only from one place. Plugins bundled with standard SquirrelMail package get strings from locale/*/LC_MESSAGES/squirrelmail.mo and locale/*/LC_MESSAGES/squirrelmail.po. Plugins not bundled with SquirrelMail can be coded to use locale/*/LC_MESSAGES/plugin-name.po|mo files or plugins/plugin-name/locale/*/LC_MESSAGES/plugin-name.po|mo. Some plugins are written incorrectly and use squirrelmail domain instead of their own. These plugins must be fixed. Check SquirrelMail translation statistics (http://l10n-stats.squirrelmail.org/SM-1_4_18/de_DE/index.php). If plugin is in squirrelmail section, translations are stored in locale/*/LC_MESSAGES/. If it is in plugins, translations are in plugins/plugin-name/locale/*/LC_MESSAGES. If plugin is in extra section, translation is broken. "Select the IMAP commands ..." string is not translatable. info plugin is only partially translated. This plugin is for testing and developers. Your users don't need it. Thomas Vasiliadis.de wrote: > > I tried to copy the notes.mo in the following folders: > \plugins\notes\locale > \plugins\notes\locale\de_DE > \locale\de_DE\LC_MESSAGES > no result. > > I tried to enclose both po and mo files, but the mail was not checked by > an administrator by now, so I send this mail without the files. > If someone would like to see this files or use the notes file to update > the translation pool, I will send the needet files to your emailadress. > notes.po and notes.mo should be stored in plugins\notes\locale\de_DE\LC_MESSAGES. Please don't send SquirrelMail translations to my email address. I am not SquirrelMail developer. You can host files on your own server or use some public file sharing services or use SquirrelMail bug tracker and post only links in your emails. Rewrap string comes not from SquirrelMail itself or notes plugin. It comes from rewrap plugin. Plugin stores German translations in plugins/rewrap/locale/de_DE/LC_MESSAGES/rewrap.po|mo. -- Tomas -- View this message in context: http://old.nabble.com/German-Translation-brocken--tp27426317p27501204.html Sent from the squirrelmail-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ----- squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users