Ok so since I couldn't find a solution to the problem of Russian language not displaying properly in Nuke 7.9 I decided to install nuke 8.1 and see if it worked any better.
Same problem unfortunately. It seems that the problem lays somewhere in the encoding. The browser doesn't auto switch to the correct encoding when you enter the site. If I switch manually to Cyrillic Windows 1251 then things display correctly...almost.
I noticed that although Russian is set as the default language through the admin panel and also in the user profile the site still displays English in the language selection block.
Other thing is if I select Russian as the default language then in Internet Explorer many of the menu and block text items show an underscore at the begining. For example in the Who's Online block it looks like this :
Code:
_CURRENTLY 0 _GUESTS 1 _MEMBERS
_YOUARELOGGED ******.
_YOUHAVE 0 _PRIVATEMSG
Phpnuke is fast becoming way too much hassle to use. It's ok if you just want a bog standard English language site but anything else causes problems
Can anyone shed any light on what the problem is ?
Thanks
jammyme Nuke Soldier
Joined: Jan 29, 2007
Posts: 22
Location: South Yorkshire, UK
Posted:
Fri Dec 21, 2007 7:08 am
Sorry I don't have Nuke 7.9 or 8.1, but some of the problems you mention are familiar to problems I am facing with my add-on and the Russian language special character set.
Underscores (Language Definitions)
The underscores you mention I guess are there because there is no associated definition in the nuke language files. Found in /html/language and for some modules in /html/modules/[MODULE]/language.
These files follow the name style "lang-language.php" so the files you will be interested in will, I guess, be "lang-Russian.php". Open the relevant file(s) in HAPedit, notepad or any other text/code editors you have and you will see a set of define's assigning texts for each language,
You will (unfortunately) have to search through the relevant files and add any missing values if they are not present. For example if "_CURRENTLY" keeps displaying on your site rather than the friendly/translated text then add a value:
Code:
define("_CURRENTLY","Currently")
I hope this helps!
_________________ Phil Project Developer
Chilli Nuke Soldier
Joined: Oct 08, 2004
Posts: 17
Posted:
Fri Dec 21, 2007 7:27 am
Thanks Phil. Your a star m8. At least that is one problem solved
Now If I can just get the encoding to switch automatically everything will be just great
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