News - Features - Downloads - Forum - Team - Support - Switch View: Screen
Login - Registrierung - Passwort vergessen

Antworten: 11
Seite [1]
Horr


Wannabe poster




Beiträge: 25
# Thema - 16.11.2011 um 21:00 Uhr
Hey!

I'm trying to change the language to a new one created, but is not working. Wanted you to see if I'm doing everything right:

I copied the folder "English" in the directory "lang", and changed comlang.php and info.php files.

My comlang.php:

$com_lang['name'] = 'Pt_Br';
$com_lang['short'] = 'pt_br';
$com_lang['dateset'] = 'd/m/Y';
$com_lang['timeset'] = 'g:i A';
$com_lang['dtcon'] = 'at';
$com_lang['timename'] = '';

I was in the module Language ,and changed for this new language.

Am I forgetting something? The changes in language that I do has no effect.

Thanks!


Zuletzt editiert von Horr am 16.11.2011 um 22:13 Uhr (1x Editiert)
Inaktiv
Jam2 ClanSphere Team


Highlander





Beiträge: 3291
# Antwort: 1 - 16.11.2011 um 21:04 Uhr
Do you have cleared your Cache?
(System -> Cache)


------------------
Gruß/ Best regards
Jam2

Nützliche Forumbeiträge/Codepastes: (Useful comments in our board / codepastes)
Template Switch for index.php
Board Navlist last posts

Edi: könnte man denn auch hier eine erweiterung einfügen?
Jam2: das web ist wie toyota.....
Edi: hö ?
Jam2: nichts ist unmöglich!


Inaktiv
|
Horr
Thread-Ersteller


Wannabe poster




Beiträge: 25
# Antwort: 2 - 16.11.2011 um 21:06 Uhr
Alredy did it =( Nothing yet!

Should i post something to help?

Not even the native date is working in d/m/Y format.. still on English's format


Zuletzt editiert von Horr am 16.11.2011 um 21:06 Uhr (1x Editiert)
Inaktiv
|
ev0lution


Geekboy





Beiträge: 1103
# Antwort: 3 - 16.11.2011 um 21:06 Uhr
may u forgot to activated it in System->Lang ?


------------------


Inaktiv
|
Horr
Thread-Ersteller


Wannabe poster




Beiträge: 25
# Antwort: 4 - 16.11.2011 um 21:07 Uhr
Nope, i did it =(


Inaktiv
|
hajo ClanSphere Team


VIP - Poster




Herkunft: Barsbüttel
Beiträge: 9411
# Antwort: 5 - 16.11.2011 um 21:11 Uhr
name of new language = info.php name?

clansphere version?

debug output? (anything in red inside it or the error logs)


------------------
ClanSphere - professional clan care starts here

Inaktiv
|
Horr
Thread-Ersteller


Wannabe poster




Beiträge: 25
# Antwort: 6 - 16.11.2011 um 21:18 Uhr
2011-11-16 at 9:11 PM - hajo:
[quote]name of new language = info.php name?
[/quote]

Yes

2011-11-16 at 9:11 PM - hajo:
clansphere version?
[/quote]

The last one, 2011.2.1

2011-11-16 at 9:11 PM - hajo:
debug output? (anything in red inside it or the error logs)
[/quote]

21:20:56
mods/publisher/'e43814eb-eaa2-4e9b-b369-97af64c94705'.php
cs_templatefile - File not found
mod=news&action=recent
Apache/2.2.17 (Ubuntu)
127.0.0.1
Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
--------
21:20:56
mods/multislide/navslide.php
cs_templatefile - File not found
mod=news&action=recent
Apache/2.2.17 (Ubuntu)
127.0.0.1
Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
--------
21:20:56
mods/bets/navlist.php
cs_templatefile - File not found
mod=news&action=recent
Apache/2.2.17 (Ubuntu)
127.0.0.1
Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1



This could couse some language error? Guess not


Changing to German is not working too Oo


Zuletzt editiert von Horr am 16.11.2011 um 21:35 Uhr (3x Editiert)
Inaktiv
|
hajo ClanSphere Team


VIP - Poster




Herkunft: Barsbüttel
Beiträge: 9411
# Antwort: 7 - 16.11.2011 um 21:33 Uhr
does your language appear in system -> languages when logged in?


------------------
ClanSphere - professional clan care starts here

Inaktiv
|
Horr
Thread-Ersteller


Wannabe poster




Beiträge: 25
# Antwort: 8 - 16.11.2011 um 21:36 Uhr
Yes, is actived.

Changing to German is not working too Oo

I just create a new clansphere copy, a raw one, tried to change to German language, and nothing.

I debugged a little, on system/core/functions.php, on line 183, the native language is ALWAYS English, no matter what! Its written on somewhere that i dont know hehe

Im on linux.


Zuletzt editiert von Horr am 16.11.2011 um 22:05 Uhr (3x Editiert)
Inaktiv
|
Jam2 ClanSphere Team


Highlander





Beiträge: 3291
# Antwort: 9 - 16.11.2011 um 22:15 Uhr
did you set chmod to upload dir?

how do you change your language in your account? every user can choose his language example http://www.csphere.eu/index/users/setup


------------------
Gruß/ Best regards
Jam2

Nützliche Forumbeiträge/Codepastes: (Useful comments in our board / codepastes)
Template Switch for index.php
Board Navlist last posts

Edi: könnte man denn auch hier eine erweiterung einfügen?
Jam2: das web ist wie toyota.....
Edi: hö ?
Jam2: nichts ist unmöglich!


Zuletzt editiert von Jam2 ClanSphere Team am 16.11.2011 um 22:18 Uhr (1x Editiert)
Inaktiv
|
Horr
Thread-Ersteller


Wannabe poster




Beiträge: 25
# Antwort: 10 - 17.11.2011 um 13:44 Uhr
Yep, chmod -R 777 /var/www/clansphere

Im trying to change the language on this link that u paste, but its not working too. English to German, nothing happens.

And im on Windows 7 now, same problem. Raw installation, when i change language, from English to German, clean the cache, and nothing happens.

Maybe its a bug from the last version.

UPDATE:

I saw the problem, is on the "users" table. The "users_lang" field is not updating when u change the language.

UPDATE 2:

LOL whats the difference between the system langage and user language? Im confused now, couse i see that i can change in this 2 ways, maybe this is my problem! Can u explain to me?


Zuletzt editiert von Horr am 17.11.2011 um 14:13 Uhr (3x Editiert)
Inaktiv
|
hajo ClanSphere Team


VIP - Poster




Herkunft: Barsbüttel
Beiträge: 9411
# Antwort: 11 - 17.11.2011 um 14:59 Uhr
system language only affects visitors and new account registration default lang settings.


------------------
ClanSphere - professional clan care starts here

Inaktiv
|
Antworten: 11
Seite [1]


Sie müssen sich registrieren, um zu antworten.


ClanSphere Project - Mailus - Imprint - Disclaimer - Scriptinfo