- Edited
How i can detect new users browser language?
I using FoF Discussion Language.
How i can detect new users browser language?
I using FoF Discussion Language.
this extension can't detect browser language unfortunately, discussion language specify the language a discussion is written in & sort by language.
Justoverclock okey so,
If i coding my self language detection script in PHP, how i can change automically this section:
HasanMerkit what do you mean for change, if you write an extension that detect language you don't need language selector anymore (i think), so you can disable that into admin dashboard
Justoverclock i solved this problem my self with PHP codes.
So, how i can convert my codes to an extension?
Code location: index.php ( "BEFORE FLARUM!" )
Code do:
HasanMerkit code in extend.php is always executed, and you can generate an extension with
Flarum-cli
HasanMerkit Hi, emm, I really need the language auto-detect function, but didn't find any extension that can solve it, would you mind sharing some ideas, like how you achieved this with your code? (like would you mind sharing the code with me). I really appreciate that.
Xavier I know I'm late getting back to you. I apologize. I'll share it later.