Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
English interface not showing up

 
Reply to topic    Forum Index » Strawberry Support View previous topic
View next topic
English interface not showing up
Author Message
Syrion



Joined: 02 Aug 2006
Posts: 172

Post English interface not showing up Reply with quote
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?
Fri Aug 04, 2006 10:05 am View user's profile Send private message
Guest








Please login to hide the ads.

Syrion



Joined: 02 Aug 2006
Posts: 172

Post Reply with quote
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.
Fri Aug 04, 2006 10:11 am View user's profile Send private message
FI-DD
Admin


Joined: 22 Sep 2005
Posts: 2683
Location: Germany

Post Reply with quote
Well, Scott had the same problems:

http://english.cutenews.ru/forum/strawberry-t371-s45.html#3432



Don't know if he fixed it.
Fri Aug 04, 2006 10:12 am View user's profile Send private message
Syrion



Joined: 02 Aug 2006
Posts: 172

Post Reply with quote
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.
Fri Aug 04, 2006 10:27 am View user's profile Send private message
FI-DD
Admin


Joined: 22 Sep 2005
Posts: 2683
Location: Germany

Post Reply with quote
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.
Fri Aug 04, 2006 1:08 pm View user's profile Send private message
Syrion



Joined: 02 Aug 2006
Posts: 172

Post Reply with quote
Yup, I found out (long live dreamweavers search-function!).





Code:
$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?
Fri Aug 04, 2006 1:11 pm View user's profile Send private message
scottdallas



Joined: 04 May 2006
Posts: 1808
Location: US

Post Reply with quote
I have not fixed it ;( I am playing with it right now again though.

_________________
www.scottdizzle.com uses cnr Smile
last update: 07-22-08: 8:30 pm
Wed Aug 09, 2006 6:40 pm View user's profile Send private message Visit poster's website AIM Address
sempro



Joined: 27 Apr 2006
Posts: 72

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





Code:
$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?
Thu Sep 21, 2006 12:22 pm View user's profile Send private message
Saszoo



Joined: 07 Jun 2006
Posts: 409
Location: Norway

Post Reply with quote
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?

_________________
My cute.ru site
Sun Nov 26, 2006 1:32 am View user's profile Send private message Visit poster's website
Display posts from previous:    
Reply to topic    Forum Index » Strawberry Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum



Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Music Lyrics.