Jump to content
  • 0

Multilanguage Support on FluxCP?


Question

Posted

Hi!

I have a question.

 

Is it possible to add multilanguage support to FluxCP?

Or if is it already implemented, how to use it? Anyone can explain me?

 

For example, i wanna to add 2 buttons on the website:

 

  • EN
  • ES

If visitor click on "EN" button, website (default phrases) will be in english

If visitor click on "ES" button, website (default phrases) will be in spanish.

 

I saw that feature on few servers with flux, but i did't found how to organize it.

Anyone, can explain about this feature?

3 answers to this question

Recommended Posts

Posted

I think you can use google translate to help you with your website but i think everything will be manual if you want to create one. not sure ill try to research more about this :)

Posted (edited)

all the text have to be stored in a file, in a array or constants or whatever, and then replace all the texts in the website with that variables, so then you just have to switch between english/spanish.php file to change the language (spanish with strings in spanish and same with english), then you can set a cookie as a config to store what language did they choose

Edited by Doch
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...