About Features Downloads Getting Started Documentation Events Support GitHub

Love VuFind®? Consider becoming a financial supporter. Your support helps build a better VuFind®!

Site Tools


Warning: This page has not been updated in over over a year and may be outdated or deprecated.
development:architecture:localization

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
development:architecture:localization [2019/06/18 08:58] – [Text Domains] xmorave2development:architecture:localization [2020/07/09 09:14] – [Text Domains] emaijala
Line 115: Line 115:
  
     $translator->translate('MyDomain::myString');     $translator->translate('MyDomain::myString');
 +
 +or
 +
 +    $translator->translate(['MyDomain', 'myString']);
  
 on a valid $translator object would return "The translation". on a valid $translator object would return "The translation".
Line 123: Line 127:
   * CreatorRoles - used for translating author relator terms (such as [[https://www.loc.gov/marc/relators/relaterm.html|these]])   * CreatorRoles - used for translating author relator terms (such as [[https://www.loc.gov/marc/relators/relaterm.html|these]])
   * HoldingStatus - used for displaying complex item availability messages (not supported by all ILS drivers)   * HoldingStatus - used for displaying complex item availability messages (not supported by all ILS drivers)
-  * Exception - used for messages to users when they do not have access privileges to account+  * Exception - used for exception messages (currently not the exclusive location for these kinds of messages, but refactoring may eventually occur)
 ===== Help Screen Translation ===== ===== Help Screen Translation =====
  
development/architecture/localization.txt · Last modified: 2024/01/10 13:56 by demiankatz