Technical notes about OctoberCMS a Laravel CMS by inetis team, a Swiss webagency

<- Back

Constant strings that you can use on every pages

Posted on by

On most websites you have common strings that need to be edited easily by the client.

For this, we are using the rainlab-translate. The most common usage of this plugin is for multilanguage sites, but it could be also very useful even if you are using only one language

This plugin creates a great backend to manage strings from a centralized place. We use it for phone numbers, addresses and for all strings that need to be edited by the client.

translate.png

Now, in your pages you can use the following code :

<h3>{{ 'compagny name:'|_ }}</h3>