Forum > Problem with Italian Language
DOTLAN Intranet / Portal >> International > Problem with Italian Language |
Antwort erstellen |
Autor | Thema: Problem with Italian Language | ||||||
|
|
||||||
NEW Clan: No clan Postings: 10 |
Hi Dotlan Team i've a little problem. I've installed on my webspace with Zend the Demo's Version of Dotlan, and i'm gonna to buy it, but i've a problem about the language. The problem is that i can't use Italian Language and it is always in German Language, i've translated everything manually, but there are other things that i can't translate because it aren't on decrypted files... How can i fix it? i've tryed to reinstall it, but nothing it not found ... Are there any permission to set or other things to do about to fix this big problem? Thanks advanced Alfredo. |
||||||
|
|
||||||
NEW Clan: No clan Postings: 10 |
oh My OS is Linux Debian website : http://www.bittime.org Gettext Version : gettext_0.16.1-1_i386 i'll wait your answer hopely will come rlly soon |
||||||
|
|
||||||
NEW Clan: KST-LAN Postings: 418 |
Hi, the italian version of most of the textes are saved in html/locales/it/LC_MESSAGES/dotlan.mo You may edit it by change the it.po in your /po/ directory. The second point is you have to "activate" the italian language. Edit
could be the right entry, but I don't know exactly. |
||||||
|
|
||||||
NEW Clan: No clan Postings: 10 |
what you mean with you can change it.po in your /po/ dir? Where is it? Is it into /usr/share/gettext ?? |
||||||
|
|
||||||
NEW Clan: KST-LAN Postings: 418 |
This directory is part of the archive you've downloaded from this page.x
|
||||||
|
|
||||||
NEW Clan: No clan Postings: 10 |
and where have i to set this directory?
|
||||||
|
|
||||||
NEW Clan: KST-LAN Postings: 418 |
nowhere; after your changes you have to compile a new *.mo file which have to be placed in /html/locales/it/LC_MESSAGES/ But I mean, your problem should be fixed when you edit your config.php file like the way I wrote. |
||||||
|
|
||||||
NEW Clan: No clan Postings: 10 |
that problem isn't fixed, i've already tryed that
|
||||||
|
|
||||||
NEW Clan: No clan Postings: 10 |
and however where have i to set /po/ directory? what zone i mean? example : /home/bittime/ or /home/bittime/public_html/ into the second directory there is the website, in the first one there are other directory like ftp incoming and more... |
||||||
|
|
||||||
NEW Clan: KST-LAN Postings: 418 |
The po-directory: nowhere; with the italian po-file you have to create a mo-file, which you have to copy into dotlan. But I think, that's not what you have to do to fix the problem. Please post the line of your config.php I mentioned. Furthermore you may enable the debug mode. Then you'll find lot of information at the end of each dotlan-page as a html commentar. |
||||||
|
|
||||||
NEW Clan: No clan Postings: 10 |
// Seitenname, und Style $global['sitename'] = "Bit Time Tournament"; // Seitenname: Dieser Name erscheint an vielen Stellen auf der Webseite. Im HTML Kopf, in E-Mails, usw. $global['sitename_delimiter'] = " :: "; // Trennzeichen zwsch. Sitename und Seitentitel, etc. $global['defaultstyle'] = "default.it"; // Welches Theme ist default $global_user['user']['locale'] = "it"; // setlocale $global['locales_available'] = array('it'=>'Italian'); i'll try to activate debug mode |
||||||
|
|
||||||
NEW Clan: No clan Postings: 10 |
edit : i've tryed to activate debug mode, but it don't found -.- |
||||||
|
|
||||||
NEW Clan: KST-LAN Postings: 418 |
This line must be part of your config.php file [Editiert von Bigga am 27.Jul.2007 um 14:42] |
||||||
|
|
||||||
NEW Clan: dotlan.net Postings: 1252 |
for debian: you have to install and configure gettext/locales and the gettext module of php, which you already has installed.
Now you must get the selection which locales you want to generate. If you've already locales installed, use the following command.
On my webserver i selected the following locales: en_US ISO-8859-1, en_US.ISO-8859-15, en_US.UTF-8 de_DE ISO-8859-1, de_DE.ISO-8859-15, de_DE.UTF-8 it_IT ISO-8859-1, it_IT.ISO-8859-15, it_IT.UTF-8 Press OK, now the locale files will be build. After this compile process has finished, you must restart the apache webserver to recognize the new locales.
That's it. |
||||||
|
|
||||||
NEW Clan: dotlan.net Postings: 1252 |
The language problem isn't a problem of dotlan. On your website, i see that the choosen language is it (on the language selector, in the upper right) But when some parts, like the menu, isn't translated, then the webserver isn't problery configured to use the correct locales.
|
||||||
|
|
||||||
NEW Clan: No clan Postings: 10 |
i've configured now locales like your webserver, but nothing always same thing .. later i'll try to re install it [Edited by Incuboss at 29.Jul.2007 and 17:12] |
||||||
|
|
||||||
NEW Clan: No clan Postings: 10 |
after re-installation it work good thx you brother |
||||||
[ Antwort erstellen ] |