[Mapbender-users] what is needed to get mapbender 2.5 make use of new po translation files

Peter Freimuth freimuth at rapideye.de
Wed Jan 28 04:38:42 EST 2009


Hi list,
we are still trying to get the translation stuff running. We added all translations to to translations table and this works fine. We have also created the new po files based with all translations for the current modules. But somehow, these new po files (allready compiled into mo format by msgfmt resources/locale/pt_PT/LC_MESSAGES/Mapbender.po -o resources/locale/pt_PT/LC_MESSAGES/Mapbender.mo ) is not used at all. We added the new language to class_language
        /**
         * set the known languages
         */
        function setKnownLanguages() {
                $this->knownLanguages = array('en_US' => 'en_US',
                      'en' => 'en_US',
                      'de_DE' => 'de_DE',
                      'de' => 'de_DE',
                      'bg_BG' => 'bg_BG',
                      'bg' => 'bg_BG',
                      'es_ES' => 'es_ES',
                      'es' => 'es_ES',
                      'pt_PT' => 'pt_PT',
                      'pt' => 'pt_PT',
                      'nl_NL' => 'nl_NL',
                      'nl' => 'nl_NL',
		      'fr_FR' => 'fr_FR',
                      'fr' => 'fr_FR',
                      'gr_GR' => 'gr_GR',
                      'gr' => 'gr_GR',
                      'it_IT' => 'it_IT',
                      'it' => 'it_IT');
        }
 but somehow nothing happens with the digitize and spatial select button tooltips when language is change in the interface.
Any ideas?
Peter

-- 
_______________________________________________________________________   

Peter Freimuth				phone: +49 3381 8904327
Product Development			fax:   +49 3381 8904101
RapidEye AG				email: freimuth at rapideye.de
Molkenmarkt 30
14776 Brandenburg an der Havel		http://www.rapideye.de
Germany
_______________________________________________________________________   

PRIVILEGE AND CONFIDENTIALITY NOTICE:
The information in this email is intended for the named recipients 
only. It may contain privileged and confidential information.  If you 
have received this communication in error, any use, copying or 
dissemination of its contents is strictly prohibited.  Please erase all 
copies of the message along with any included attachments and notify 
RapidEye AG or the sender immediately by telephone at the number 
indicated on this page.
_______________________________________________________________________

RapidEye AG
Molkenmarkt 30
14776 Brandenburg an der Havel
Germany

Head Office/Sitz der Gesellschaft: Brandenburg an der Havel
Management Board/Vorstand: Wolfgang G. Biedermann
Chairman of Supervisory Board/Vorsitzender des Aufsichtsrates: Axel Schmalz
Commercial Register/Handelsregister Potsdam HRB 17 796
Tax Number/Steuernummer: 048/100/00053
VAT-Ident-Number/Ust.-ID: DE 199331235
DIN EN ISO 9001 certified

*************************************************************************
Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese
E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den
Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie
die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.

The information in this e-mail is intended for the named recipients
only. It may contain privileged and confidential information. If you
have received this communication in error, any use, copying or
dissemination of its contents is strictly prohibited. Please erase all
copies of the message along with any included attachments and notify
RapidEye AG or the sender immediately by telephone at the number
indicated on this page.


More information about the Mapbender_users mailing list