Welcome to the new Zamblek — and the new Sngine website - The new Zamblek website is live — and with it, a new home for Sngine, your licenses, support, and the entire ecosystem. Mehr erfahren
What’s New with v4.5! - Sngine v4.5 comes with a lot of new features Mehr erfahren
Sngine 4.5 Release! - Our Sngine team is so pleased to announce the release of Sngine 4.5! With some improvements, Mehr erfahren

How to translate the static pages like about us to different languages?

Go to admin panel and edit the page you want to edit or add a new

Zamblek Zamblek 1 Min. Lesezeit
How to translate the static pages like about us to different languages?

Go to admin panel and edit the page you want to edit or add a new page as you want

Then Click View -> Source Code

and make the text like that

{if $system['language']['code'] == 'ar_sa'} 

تجربة بالعربية 

{elseif $system['language']['code'] == 'fr_fr'} 

Expérience arabe 

{else} 

English Test 

{/if} 

Notice that you will put the text of each language you want after the if statement and you can repeat the else if statement for all languages you have. Also you can get the language code from admin panel -> Languages

The result will be like this:

Now change the language to Arabic and to French and English and will see the text has translated to according to the user selected language.

That’s it.

Happy Sngine 🙂

Buy Sngine or Extend your support: https://bit.ly/BuySngine