List:Eventum Development« Previous MessageNext Message »
From:Ondrej Sibrina Date:October 2 2009 8:03am
Subject: Localization doesn`t work
View as plain text  
Hello,
I'm trying to work out problem with localization. But I'm getting
desperated. In the end on my testing i install fresh version 2.1.2 and
set default locale pl. Polish localization is included in fresh install.
But it doesnt work.

config.php
##############################################
define('APP_DEFAULT_LOCALE', 'pl');

// 'native' or 'php'. Try native first, if you experience strange issues
// such as language switching randomly, try php
define('APP_GETTEXT_MODE', 'php');


Then i tried to debug a little so i add "echo $path" before file is
readed. Everything looks good and file is readed.

include/php-gettext/gettext.inc
##############################################
if (file_exists($path)) {
	echo $path;
	$input = new FileReader($path);

...misc/localization/pl/LC_MESSAGES/eventum.mo is displayed.

Unfortunately localization is not working and i have no idea what to do now.

Any ideas please?

Ondrej Sibrina


Thread
Localization doesn`t work Ondrej Sibrina2 Oct
  • Re: Localization doesn`t workOndrej Sibrina2 Oct
    • Re: Localization doesn`t workOndrej Sibrina2 Oct
      • TCPDFNormando Hall30 Oct
        • Re: TCPDFTim Uckun30 Oct