multi language template

Ruud

Have a look at the help pages. http://www.websitebaker2.org/en/help/developer-guide/variables-and-constants.php
There is a variable LANGUAGE that will tell you what you want.
[url=https://dev4me.com/modules-snippets/]Dev4me - WebsiteBaker modules[/url] - [url=https://wbhelp.org/]WBhelp.org[/url]

toa

#1
Hi folks,

I've created a template as described in the online documentation. It works fine.  :lol: But now I want to support multiple languages.

For example, my template adds a button labeled 'next' to the bottom of the page. But when the backend language is changed, the button label should change accordingly.

It would be nice to have a set of language files (en.php, de.php, fr.php, ...) that contain the translations which can be used in the template.
But how can I determine (during runtime) which of these language files should be included in the template?  :?

Thanks!