Feature #115
Language catalogs
| Status: | CLOSED | Start date: | 04/28/2011 | |
|---|---|---|---|---|
| Priority: | Normal | Due 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
Refs #115. Added string translation lookup in catalog files.
Catalog files are located under Language/<langCode>/ directory.
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)