Jump to content
  • 0

Multilanguage Support on FluxCP?


anacondaq

Question


  • Group:  Members
  • Topic Count:  42
  • Topics Per Day:  0.01
  • Content Count:  1096
  • Reputation:   345
  • Joined:  02/26/12
  • Last Seen:  

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?

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  13
  • Reputation:   0
  • Joined:  11/20/11
  • Last Seen:  

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 :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  79
  • Reputation:   6
  • Joined:  12/10/13
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  71
  • Reputation:   3
  • Joined:  12/31/11
  • Last Seen:  

Not ALL the flux web have variables for language, many others options are hardcoded, you can translate the language file, but u will need to check file by file for translate hardcoded language

Link to comment
Share on other sites

×
×
  • Create New...