User Tools

Site Tools


evergreen-admin:customizations:i18n

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
evergreen-admin:customizations:i18n [2012/06/27 11:36]
kivilahtio
evergreen-admin:customizations:i18n [2018/06/05 11:06] (current)
sandbergja adding another prereq
Line 12: Line 12:
 apt-get install translate-toolkit python-dev python-levenshtein python-polib python-setuptools python-simplejson python-lxml apt-get install translate-toolkit python-dev python-levenshtein python-polib python-setuptools python-simplejson python-lxml
 </​code>​ </​code>​
 +
 +For Ubuntu, you may also need ''​liblocale-maketext-lexicon-perl''​
  
 ===Creating or updating a set of PO files for translation=== ===Creating or updating a set of PO files for translation===
Line 41: Line 43:
 #   * username '​evergreen'​ #   * username '​evergreen'​
 psql -h localhost -U evergreen -f Open-ILS/​src/​sql/​Pg/​950.data.seed-values-fr-CA.sql</​code>​ psql -h localhost -U evergreen -f Open-ILS/​src/​sql/​Pg/​950.data.seed-values-fr-CA.sql</​code>​
- 
  
 **NOTE** This does not copy the correct files into /​openils/​var/​web/​opac/​common/​js/<​locale>/​ **NOTE** This does not copy the correct files into /​openils/​var/​web/​opac/​common/​js/<​locale>/​
  
 +**NOTE** If you fail to INSERT your 950.data.seed-values-<​locale>​.sql,​ you need to add your language definition to config.i18n_locale issuing the following command:
 +<code sql>
 +INSERT INTO config.i18n_locale VALUES ('​fi-FI','​fin','​Suomi','​Suomen komia kieli'​);​
 +</​code>​
 +
 +===Localizing the TPAC===
 +To make your localization visible in the TPAC, you should follow these instructions:​
 +http://​docs.evergreen-ils.org/​2.3/​_creating_a_new_skin_the_bare_minimum.html
 =====Technical details behind localization===== =====Technical details behind localization=====
 The technical details of how we handle localization in Evergreen - staff client, catalogue, and OpenSRF - have been moved [[backend-devel:​i18n|to a separate page]] to avoid confusing this more practical page. The technical details of how we handle localization in Evergreen - staff client, catalogue, and OpenSRF - have been moved [[backend-devel:​i18n|to a separate page]] to avoid confusing this more practical page.
evergreen-admin/customizations/i18n.1340811396.txt.gz · Last modified: 2012/06/27 11:36 by kivilahtio

© 2008-2017 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a member of Software Freedom Conservancy.