Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
[REQUEST] Client multilanguage
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Core" data-source="post: 397569" data-attributes="member: 72270"><p>Just add the language to the end of the flash text; <strong>_en</strong>, <strong>_nl</strong>, <strong>_es</strong>, etc.</p><p>Then in users table add language column then put country code for the user in there (add to settings to allow them to change it).</p><p>It's as simple as reading the value, if you use rev just add it to the session init function and you can do;</p><p></p><p><?= "../../flash_texts_{$_SESSION["user"]["language"]}"; ?></p></blockquote><p></p>
[QUOTE="Core, post: 397569, member: 72270"] Just add the language to the end of the flash text; [B]_en[/B], [B]_nl[/B], [B]_es[/B], etc. Then in users table add language column then put country code for the user in there (add to settings to allow them to change it). It's as simple as reading the value, if you use rev just add it to the session init function and you can do; <?= "../../flash_texts_{$_SESSION["user"]["language"]}"; ?> [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
[REQUEST] Client multilanguage
Top