Menü

Login

Aktuelle Version

Forum > Problem with Italian Language *

DOTLAN Intranet / Portal >> International > Problem with Italian Language
Antwort erstellen
Autor Thema: Problem with Italian Language
Incuboss
25.07.2007 um 20:19 QuoteProfileSend PM
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.
 
Incuboss
25.07.2007 um 21:14 QuoteProfileSend PM
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
 
Bigga
26.07.2007 um 10:29 QuoteProfileSend PM
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
Code:
$global_user['user']['locale']
in your config.php file.
Code:
$global_user['user']['locale'] = "it"

could be the right entry, but I don't know exactly.
 
Incuboss
26.07.2007 um 20:06 QuoteProfileSend PM
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 ??
 
Bigga
26.07.2007 um 20:51 QuoteProfileSend PM
NEW

Clan: KST-LAN
Postings: 418

This directory is part of the archive you've downloaded from this page.x
 
Incuboss
26.07.2007 um 22:24 QuoteProfileSend PM
NEW

Clan: No clan
Postings: 10

and where have i to set this directory?
 
Bigga
26.07.2007 um 23:11 QuoteProfileSend PM
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.
 
Incuboss
27.07.2007 um 02:03 QuoteProfileSend PM
NEW

Clan: No clan
Postings: 10

that problem isn't fixed, i've already tryed that
 
Incuboss
27.07.2007 um 03:21 QuoteProfileSend PM
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...
 
Bigga
27.07.2007 um 08:40 QuoteProfileSend PM
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.
 
Incuboss
27.07.2007 um 12:36 QuoteProfileSend PM
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
 
Incuboss
27.07.2007 um 12:38 QuoteProfileSend PM
NEW

Clan: No clan
Postings: 10

edit :

i've tryed to activate debug mode, but it don't found -.-
 
Bigga
27.07.2007 um 14:41 QuoteProfileSend PM
NEW

Clan: KST-LAN
Postings: 418

Code:
$global['debug'] = TRUE


This line must be part of your config.php file

[Editiert von Bigga am 27.Jul.2007 um 14:42]
 
Griffon
28.07.2007 um 12:16 QuoteProfileSend PM

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.

Code:
apt-get install locales

Now you must get the selection which locales you want to generate. If you've already locales installed, use the following command.
Code:
dpkg-reconfigure locales

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.
Code:
/etc/init.d/apache2 restart

That's it.
 
Griffon
28.07.2007 um 12:18 QuoteProfileSend PM

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.
 
Incuboss
29.07.2007 um 16:57 QuoteProfileSend PM
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]
 
Incuboss
29.07.2007 um 17:33 QuoteProfileSend PM
NEW

Clan: No clan
Postings: 10

after re-installation it work good



thx you brother
 
[ Antwort erstellen ]