https://www.icyphoenix.com/viewtopic.php?f=28&t=4899
-----------------------------------
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


-----------------------------------
Limun
Tue 14 Oct, 2008 19:38

Re: Auto Language Detection For 1.2.0.27c
-----------------------------------
thank you for this nice mod :) 

i will tryit tonight


-----------------------------------
Chaotic
Tue 14 Oct, 2008 23:05

Re: Auto Language Detection For 1.2.0.27c
-----------------------------------
[b]New Player[/b],

I'm downloading and trying this mod out now!  8)

EDIT - Installed on my site.  Check it out for me?

[url=http://www.MAcommunity.net]MAcommunity.net


-----------------------------------
New Player
Wed 15 Oct, 2008 10:27

Re: Auto Language Detection For 1.2.0.27c
-----------------------------------
german :mricy:  

[img]http://www.icyphoenix.com/files/images/3229/chaotic.jpg[/img]


-----------------------------------
Limun
Wed 15 Oct, 2008 14:25

Re: Auto Language Detection For 1.2.0.27c
-----------------------------------
[quote user="Chaotic" post="33151"][b]New Player[/b],

  Check it out for me?

[url=http://www.MAcommunity.net]MAcommunity.net[/quote]

u dont have croatian to check  :evil:   :mrblue:


-----------------------------------
TheSteffen
Wed 15 Oct, 2008 14:46

Re: Auto Language Detection For 1.2.0.27c
-----------------------------------
Nice mod [b]New Player[/b],

topic moved to "Icy Phoenix Customizations"


-----------------------------------
Chaotic
Wed 15 Oct, 2008 22:08

Re: Auto Language Detection For 1.2.0.27c
-----------------------------------
[quote user="Limun" post="33165"][quote user="Chaotic" post="33151"][b]New Player[/b],

  Check it out for me?

[url=http://www.MAcommunity.net]MAcommunity.net[/quote]

u dont have croatian to check  :evil:   :mrblue:[/quote]

I thought I added that language pack!  Let me add it real quick.  By the time you see this post, it'll be up and running.  Let me know if it's showing the proper language for you. :)


-----------------------------------
Limun
Wed 15 Oct, 2008 22:58

Re: Auto Language Detection For 1.2.0.27c
-----------------------------------
[quote user="Chaotic" post="33175"][quote user="Limun" post="33165"][quote user="Chaotic" post="33151"][b]New Player[/b],

  Check it out for me?

[url=http://www.MAcommunity.net]MAcommunity.net[/quote]

u dont have croatian to check  :evil:   :mrblue:[/quote]

I thought I added that language pack!  Let me add it real quick.  By the time you see this post, it'll be up and running.  Let me know if it's showing the proper language for you. :)[/quote]

yep it work now  :mrorange: 

unfortunaly i didnt translated lot of things  :(  i m alone in this ...


-----------------------------------
Chaotic
Wed 15 Oct, 2008 23:31

Re: Auto Language Detection For 1.2.0.27c
-----------------------------------
You created that language pack?  If so, why not update it?


-----------------------------------
Limun
Wed 15 Oct, 2008 23:53

Re: Auto Language Detection For 1.2.0.27c
-----------------------------------
[quote user="Chaotic" post="33179"]You created that language pack?  If so, why not update it?[/quote]

we are here a bit off topic...  :P 

i just dont have time  :(


-----------------------------------
Chaotic
Wed 15 Oct, 2008 23:57

Re: Auto Language Detection For 1.2.0.27c
-----------------------------------
I don't think we're off topic at all as our posts have everything to do with this new modification. :)

Whenever you get the time, you should update your language pack so it'll work perfectly with this mod.  I can't wait to see if this will help attract more international visitors and users to my site.

Thanks Player!


-----------------------------------
New Player
Thu 16 Oct, 2008 10:24

Re: Auto Language Detection For 1.2.0.27c
-----------------------------------
no problem chaotic ;)

when i have time i will recode this mod for version 1.3 :D


-----------------------------------
Chaotic
Thu 16 Oct, 2008 20:09

Re: Auto Language Detection For 1.2.0.27c
-----------------------------------
Oh, I wasn't talking to you about updating the Croation language pack, but Limun since he created the language pack. :)


-----------------------------------
New Player
Fri 17 Oct, 2008 11:21

Re: Auto Language Detection For 1.2.0.27c
-----------------------------------
:oops:


-----------------------------------
perky
Sat 18 Oct, 2008 11:05

Re: Auto Language Detection For 1.2.0.27c
-----------------------------------
This looks like it could be a superb mod, can anyone let me know how to get it working with phpbb3  (version: 3.0.2)
Thanks


-----------------------------------
New Player
Sat 18 Oct, 2008 11:33

Re: Auto Language Detection For 1.2.0.27c
-----------------------------------
i saw a modification for phpbb3 at phpbb.com like this

try to search at phpbb.com

edit: i found it http://www.phpbb.com/community/viewtopic.php?f=69&t=862955&hilit=auto+language


-----------------------------------
kennedyusa058
Wed 17 Jun, 2009 11:19

Re: Auto Language Detection For 1.2.0.27c
-----------------------------------
It's really great. I like it very much.  :lol:


-----------------------------------
TopoMotoV3X
Wed 24 Jun, 2009 00:11

Re: Auto Language Detection For 1.2.0.27c
-----------------------------------
[quote user="New Player" post="33140"]
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[/quote]

Hello! I can not find where to put the language codes from ACP.  :oops:


-----------------------------------
New Player
Wed 24 Jun, 2009 08:51

Re: Auto Language Detection For 1.2.0.27c
-----------------------------------
must be in the acp after you install the mod

i haven't run the mod at the moment. when i right the options for this mod was under configuration


-----------------------------------
spydie
Wed 24 Jun, 2009 23:30

Re: Auto Language Detection For 1.2.0.27c
-----------------------------------
Nice mod.

Then would it be released for RC2 ??


-----------------------------------
New Player
Thu 25 Jun, 2009 15:24

Re: Auto Language Detection For 1.2.0.27c
-----------------------------------
nope

maybe for the next stable but i am not sure because major things in my live had changed


-----------------------------------
TopoMotoV3X
Sat 27 Jun, 2009 19:33

Re: Auto Language Detection For 1.2.0.27c
-----------------------------------
It works! many thanks New Player.


-----------------------------------
Gianni PB
Tue 24 Nov, 2009 15:56

Re: Auto Language Detection For 1.2.0.27c
-----------------------------------
can anyone say me if it works for me? [url=http://www.pugliabaila.it]www.pugliabaila.it
lang installed: ita, en, es. thank you :mricy:


-----------------------------------
TopoMotoV3X
Tue 24 Nov, 2009 21:34

Re: Auto Language Detection For 1.2.0.27c
-----------------------------------
[quote user="Gianni PB" post="46156"]can anyone say me if it works for me? [url=http://www.pugliabaila.it]www.pugliabaila.it
lang installed: ita, en, es. thank you :mricy:[/quote]

Si funziona.  :D  vedi il mio [url=http://www.hellomotorazrforum.com/forum.php]Forum


-----------------------------------
KasLimon
Tue 24 Nov, 2009 23:39

Re: Auto Language Detection For 1.2.0.27c
-----------------------------------
Spanish language recognized fine in both forums ;)


-----------------------------------
Gianni PB
Wed 25 Nov, 2009 00:27

Re: Auto Language Detection For 1.2.0.27c
-----------------------------------
Fantastic!  :mricy:


