Re: [phpldapadmin] Template localisation
Alessandro De Zorzi <[email protected]>
| Newsgroups | gmane.comp.ldap.davedap |
|---|---|
| Message-ID | <[email protected]> |
Submitted patch #2695410 and #2696820.
#2695410 provide a tools/po/Makefile to generate
a new POT file for a new gettext domain called "template"
this means that system messages will be written
in messages.po (As now) and template translation in
a new template.po files... to avoid error due duplicate entry
because xgettext not merge entry with po4a-gettextize
after template.po translation put .mo files together messages.mo
in lib/common.php I added one line to define the new gettext domain
bindtextdomain('template',LANGDIR);
then invoke all getFriendlyName() with dgettext() function
example:
dgettext('template',$attr->getFriendlyName());
...it seems to work, it show translation on create form, but I suppose
missing something for translation in modification and search view
add appropriate dgettext() should fix
Alessandro De Zorzi
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
______________________________________
phpLDAPadmin development mailing list.
To unsbuscribe: https://lists.sourceforge.net/lists/listinfo/phpldapadmin-devel
http://phpldapadmin.sourceforge.net/