https://www.icyphoenix.com/viewtopic.php?f=28&t=4899&p=33140#p33140
-----------------------------------
New Player
Tue 14 Oct, 2008 17:24

Auto Language Detection For 1.2.0.27c
-----------------------------------
I found this modification on phpbb.com and I have modified the admin file a bit to work with IcyPhoenix.

This modification allows guests to view the board automatically in their preferred language, provided you support that language on your board!

[spoiler]##############################################################
## MOD Title: Automatic browser dependent language choice for guests
## MOD Author: Herbalite &amp;amp;lt; hrpeters@gmx.net &amp;amp;gt; (Herbert Peters) N/A
## MOD Description: : Allows guests to view the board automatically in their preferred language, provided you support that language on your board
## MOD Version: 1.1.1
##
## Installation Level: (Easy)
## Installation Time: 5 Minutes
## Files To Edit: common.php,
##                language/lang_english/lang_admin.php
## Included Files: adm/admin_auto_lang.php
##                 templates/common/acp/auto_language_body.tpl)
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
##############################################################
## Author Notes:
## After installation, check out the new functionality in the admin panel
##
##############################################################
## MOD History:
##
##   2003-08-20 - Version 1.1.0
##      - Added a configuration tool in the admin section
##      - Validated for phpBB 2.0.6
##      - Got rid of a regular expression call, and fixed a bug in the process.
##      - replaced hard-coded array of language reference with the database driven verison
##
##   2003-11-04 - Version 1.1.1
##      - All fixes mentioned below are all in the admin utility only.
##      - All new language codes will be converted to lower case
##      - fixed a few SQL injection security issues (altough they are redundant because of stronger data validation. See below)
##      - language codes are now restricted to alphanumerical chars and the minus sign only.
##      - added checking for previous existence of language codes in delete and edit.
##      - added checking for existing phpBB language versions
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
[/spoiler]

after installation of this mod, you must specify language codes and assign a language to it at acp.

here some language codes for the languages that IcyPhoenix is available: 

ar - Arabic
ca - Catala
da - Dutch
de - German
en - English
es - Spanish
hr - Croatian
it - Italian
pt - Portuguese
ro - Romanian


