You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 75 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Russian Language Problem Again. Nuke 8.1 [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Chilli
Nuke Soldier
Nuke Soldier


Joined: Oct 08, 2004
Posts: 17


PostPosted: Fri Dec 21, 2007 6:31 am Reply with quoteBack to top

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 Sad

Can anyone shed any light on what the problem is ?

Thanks
Find all posts by ChilliView user's profileSend private message
jammyme
Nuke Soldier
Nuke Soldier


Joined: Jan 29, 2007
Posts: 22

Location: South Yorkshire, UK

PostPosted: Fri Dec 21, 2007 7:08 am Reply with quoteBack to top

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,

    e.g.:
    Code:
    define("_SEND","Îòïðàâèòü");
    define("_URL","URL");
    define("_EMAIL","E-mail")


    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! Very Happy

_________________
Phil
Project Developer

Image
Find all posts by jammymeView user's profileSend private messageVisit poster's website
Chilli
Nuke Soldier
Nuke Soldier


Joined: Oct 08, 2004
Posts: 17


PostPosted: Fri Dec 21, 2007 7:27 am Reply with quoteBack to top

Thanks Phil. Your a star m8. At least that is one problem solved Smile

Now If I can just get the encoding to switch automatically everything will be just great Smile
Find all posts by ChilliView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.339 Seconds - 364 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::