Hi I run a forum that both English people and Japanese people connects. How can I do this?
I only want forum title and description to be shown in other languages which I set.
I run latest version of mybb.
If you want the forum index automatically detect the language, then you need to change the core PHP code and add queries to
1. override the default language or
2. send a form with the other language (like the behaviour of language drop down)
You can use PHP server variables or functions to detect browser language:
$_SERVER['HTTP_ACCEPT_LANGUAGE']
locale_accept_from_http()
You can also use JavaScript to detect browser language, e.g.
<script type="text/javascript">
var clientLang = navigator.language || navigator.userLanguage;
...
</script>
Another alternate is a pre-loading landing page with two buttons to choose English or Japanese - or a send a form with language values and redirect to the forum index site.
[ExiTuS]