anacondaq Posted November 14, 2014 Group: Members Topic Count: 42 Topics Per Day: 0.01 Content Count: 1096 Reputation: 348 Joined: 02/26/12 Last Seen: May 30, 2023 Share Posted November 14, 2014 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 More sharing options...
Stickhead Posted November 14, 2014 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 13 Reputation: 0 Joined: 11/20/11 Last Seen: September 15, 2018 Share Posted November 14, 2014 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 More sharing options...
Doch Posted November 14, 2014 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 79 Reputation: 6 Joined: 12/10/13 Last Seen: December 21, 2022 Share Posted November 14, 2014 (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 November 14, 2014 by Doch Link to comment Share on other sites More sharing options...
samurai.rukasu Posted November 14, 2014 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 71 Reputation: 3 Joined: 12/31/11 Last Seen: January 17, 2024 Share Posted November 14, 2014 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 More sharing options...
Question
anacondaq
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:
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