MyBB.de Forum

Normale Version: Browser-based Language
Du siehst gerade eine vereinfachte Darstellung unserer Inhalte. Normale Ansicht mit richtiger Formatierung.
Eine neue Erweiterung wurde veröffentlicht: Browser-based Language

Zitat:https://github.com/Destroy666x/MyBB-Brow...d_Language

Installation:


  1. Upload everything from upload folder to your forum root (where index.php, forumdisplay.php etc. are located).

  2. Activate plugin in ACP -> Configuration -> Plugins.

Troubleshooting:
  • Some stuff (login, 2FA, etc.) in ACP is not translated due to MyBB hook inaccessibility.

  • You need to install any translations you want to provide to users automatically. If a browser is set to French only and there's no French translation, MyBB will load the default forum language for the browser user.

  • As mentioned earlier, the browser needs to send a proper HTTP_ACCEPT_LANGUAGE header.

  • Language codenames in inc/language/[language_name].php's $langinfo['htmllang'] variable have to be compatible with http://www.metamodpro.com/browser-language-codes

Translations:

Feel free to submit translation to github in Pull Requests. Also, if you want them to be included on the MyBB mods site, ask me to provide you the contributor status for my project.

Donations:

Donations will motivate me to work on further MyBB plugins. Feel free to use the button in the ACP Plugins section anytime.
Thanks in advance for any input.
Eine neue Version wurde veröffentlicht: Browser-based Language 1.1