This forum has moved to a new location and is in read-only mode. Please visit to access the new location.



Is there a way to add translated text to the theme files. For example,

<h1>{{'lang.page1.title' | ___}}</h1>

and use normal internationalization files like in Laravel

//file lang/en/lang.php

return [
   'page1' => [
      'title' => 'Page 1 Title in English'

Thanks, Abbas


Did you ever find a solution to this @Abbas?

The documentation for Rainlab.Translate suggests:

<h1>{{ 'Page 1 Title in English'|_ }}</h1>

But that doesn't help if the default language text might need to be updated by a non-CMS-level user....

Last updated

1-2 of 2

You cannot edit posts or make replies: the forum has moved to