Change language

Diego's Avatar


14 Feb, 2018 11:26 AM

How could I change the default language to Spanish?

function setLanguage ()
    if (isset($_SESSION['language']))
        T_setlocale(LC_MESSAGES, $_SESSION['language']);
        $lang = getLanguage();
        T_setlocale(LC_MESSAGES, $lang);

  1. 1 Posted by Diego on 14 Feb, 2018 11:37 AM

    Diego's Avatar

    Please an example of code

  2. Support Staff 2 Posted by Ryan Haudenschi... on 14 Feb, 2018 12:32 PM

    Ryan Haudenschilt's Avatar

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac