User Tools

Site Tools


eg_translations

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
eg_translations [2022/01/14 12:39] – [Making the custom string in TPAC translatable.] tmccannaeg_translations [2022/01/14 12:40] – [Adding the custom string to PO file] tmccanna
Line 137: Line 137:
   *  [[http://docs.evergreen-ils.org/2.11/_how_to_override_templates.html |How to override templates]].   *  [[http://docs.evergreen-ils.org/2.11/_how_to_override_templates.html |How to override templates]].
  
-===== Adding Translations Through Angular Interfaces ===== 
  
-The newer Angular administration interfaces provide a button to add translations (for example, the MARC Coded Value Map controls the Audience dropdown fields in the OPAC advanced search), but you will need to edit a file in order to enable it for each language.  
- 
-  - Edit Open-ILS/src/eg2/src/environments/environment.prod.ts 
-  - Modify the locales array (eg, locales: ['en-US','fr-CA','es-ES'] 
-  - Recompile Angular: ng build --prod 
  
  
Line 180: Line 174:
 http://knihovna.jabok.cuni.cz (Knihovna Jabok, Czech Republic) http://knihovna.jabok.cuni.cz (Knihovna Jabok, Czech Republic)
  
----------------------+===== Adding Translations Through Angular Interfaces ===== 
 + 
 +The newer Angular administration interfaces provide a button to add translations (for example, the MARC Coded Value Map controls the Audience dropdown fields in the OPAC advanced search), but you will need to edit a file in order to enable it for each language.  
 + 
 +  Edit Open-ILS/src/eg2/src/environments/environment.prod.ts 
 +  Modify the locales array (eg, locales: ['en-US','fr-CA','es-ES'] 
 +  Recompile Angular: ng build --prod 
 ===== Additional information ===== ===== Additional information =====
  
eg_translations.txt · Last modified: 2023/10/31 16:28 by bmagic

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.