Feature #115

Language catalogs

Added by Davide Principi over 10 years ago. Updated over 8 years ago.

Status:CLOSEDStart date:04/28/2011
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-nethgui
Target version:Phi
Resolution: NEEDINFO:

Description

  • Define the language catalog file format.
  • Complete the "Language API" (see #13) by adding some language catalogs.

Associated revisions

Revision 90890801
Added by Davide Principi over 10 years ago

Refs #115. Added string translation lookup in catalog files.

Catalog files are located under Language/<langCode>/ directory.

Revision 0a96fc17
Added by Davide Principi over 10 years ago

Refs #115. Added some language catalog examples...

History

#1 Updated by Davide Principi over 10 years ago

  • Status changed from ON_DEV to CLOSED
  • % Done changed from 0 to 100

#2 Updated by Davide Principi over 10 years ago

Extract untranslated strings from logfile, limiting the search to LocalNetwork module:

cat CodeIgniter/logs/log-2011-04-28.php | \
   grep Missing | grep LocalNetwork | \
   cut -b 63- | cut -d '`' -f 1 | \
   (while read S; do echo "\$L['${S}'] = '${S}';"; done)

Also available in: Atom PDF