English interface not showing up

Post your problems with the script.

English interface not showing up

Postby Syrion » Fri Aug 04, 2006 10:05 am

I installed Strawberry with English selected, somehow it kept bugging me in Russian. No problem there, and I probably had a language-pack with errors (since I slightly modified it), so I installed anyway.



Now, my admin panel is still in Russian, while I checked my translations on errors (and fixed some single " and other oversights), replaced the language-file and checked the permissions.



Any ideas?
User avatar
Syrion
 
Posts: 185
Joined: Wed Aug 02, 2006 2:03 pm

Postby Syrion » Fri Aug 04, 2006 10:11 am

To be sure I replaced the language file with the one from FI-DD's download, nothing happens. So I think I can exclude that one as the cause.
User avatar
Syrion
 
Posts: 185
Joined: Wed Aug 02, 2006 2:03 pm

Postby FI-DD » Fri Aug 04, 2006 10:12 am

Well, Scott had the same problems:

http://english.cutenews.ru/forum/strawb ... .html#3432



Don't know if he fixed it.
User avatar
FI-DD
Admin
 
Posts: 2971
Joined: Thu Sep 22, 2005 11:27 am
Location: Germany

Postby Syrion » Fri Aug 04, 2006 10:27 am

Used the file in there, didn't help. So the problem still occurs. :/





Which script calls pack.txt? As far as I could see none of the 3 scripts in lang/en (or my testfolder: lang/prri) tries to import it.
User avatar
Syrion
 
Posts: 185
Joined: Wed Aug 02, 2006 2:03 pm

Postby FI-DD » Fri Aug 04, 2006 1:08 pm

Syrion wrote:Which script calls pack.txt? As far as I could see none of the 3 scripts in lang/en (or my testfolder: lang/prri) tries to import it.


The function t() in inc/functions.inc.php.
User avatar
FI-DD
Admin
 
Posts: 2971
Joined: Thu Sep 22, 2005 11:27 am
Location: Germany

Postby Syrion » Fri Aug 04, 2006 1:11 pm

Yup, I found out (long live dreamweavers search-function!).





Code: Select all
$file  = languages_directory.'/'.$config['lang'].'/pack.txt';



    if (file_exists($file)){

       if (!$gettext){

          $gettext = unserialize(file_read($file));

       }



       if ($gettext[md5($text)]){

           $text = $gettext[md5($text)];

       } else {

          $gettext[md5($text)] = $text;

          file_write($file, serialize($gettext));

       }

   }




What does the if-coding do?
User avatar
Syrion
 
Posts: 185
Joined: Wed Aug 02, 2006 2:03 pm

Postby scottdallas » Wed Aug 09, 2006 6:40 pm

I have not fixed it ;( I am playing with it right now again though.
Everyday I'm tumblin http://scodal.tumblr.com
User avatar
scottdallas
 
Posts: 2243
Joined: Thu May 04, 2006 6:46 pm
Location: US

Postby sempro » Thu Sep 21, 2006 12:22 pm

Syrion wrote:Yup, I found out (long live dreamweavers search-function!).





Code: Select all
$file  = languages_directory.'/'.$config['lang'].'/pack.txt';



    if (file_exists($file)){

       if (!$gettext){

          $gettext = unserialize(file_read($file));

       }



       if ($gettext[md5($text)]){

           $text = $gettext[md5($text)];

       } else {

          $gettext[md5($text)] = $text;

          file_write($file, serialize($gettext));

       }

   }




What does the if-coding do?




Where put it or replace? what file?
sempro
 
Posts: 72
Joined: Thu Apr 27, 2006 12:36 pm

Postby Saszoo » Sun Nov 26, 2006 1:32 am

Well, I must admit. I don't get this to work...

Installed on linux-server with php version 4. same server where I installed cnr.

I've deleted the ru folder, I've changed some code in inc/functions inc...

i dunno...

What servers do you guys get this to work on?

help?
User avatar
Saszoo
 
Posts: 414
Joined: Wed Jun 07, 2006 10:34 pm
Location: Norway


Return to Strawberry Support



Who is online

Users browsing this forum: No registered users and 2 guests

cron

x