About Features Downloads Getting Started Documentation Events Support GitHub

Site Tools



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

Link to this comparison view

Both sides previous revision Previous revision
development:architecture:localization [2019/06/19 12:46]
demiankatz [Text Domains]
development:architecture:localization [2020/07/09 09:14] (current)
emaijala [Text Domains]
Line 115: Line 115:
     $translator->​translate('​MyDomain::​myString'​);​     $translator->​translate('​MyDomain::​myString'​);​
 +    $translator->​translate(['​MyDomain',​ '​myString'​]);​
 on a valid $translator object would return "The translation"​. on a valid $translator object would return "The translation"​.
development/architecture/localization.txt · Last modified: 2020/07/09 09:14 by emaijala