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, 59 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Problem with translation in block-UserInfo [ ]
 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
rasputin
Sergeant
Sergeant


Joined: May 30, 2003
Posts: 88


PostPosted: Wed Jun 04, 2003 3:05 pm Reply with quoteBack to top

Hello,
I need some assistance. My poblem: my site is all in russian language and everything is working fine - exept for two lines in UserInfo block - namely SECURITYCODE: and _TYPESECCODE:. It shows just fine under admin login or under Your Account. Attemptin to add defines to html/languahe/lang-russian.php makes a mess ot of it, i.e it displays the functions properly translated but instead of seeing the actual security code I get translation of SECURITYCODE definition. And ofcource all cookies are deleted in between. Another part to this issue. If I disable the block it gives me option under Administrative panel to view the block and when I do that everything is displayed properly. What gives? I'm not a PHP coder so if some has an explanation I would really appreciate if it's as precise as posible Smile.

Thanks.

BTW: the site address if someone wants to actually take a look at it:
http://www.russianeast.com
Find all posts by rasputinView user's profileSend private messageVisit poster's website
crashoverride



Joined: Jan 31, 2004
Posts: 0


PostPosted: Thu Jun 05, 2003 7:39 am Reply with quoteBack to top

open /modules/Your_Account/languages/lang-english.php and copy the relevant security code lines into /languages/lang-english.php

Crashoverride
Find all posts by crashoverrideView user's profileSend private message
rasputin
Sergeant
Sergeant


Joined: May 30, 2003
Posts: 88


PostPosted: Thu Jun 05, 2003 6:11 pm Reply with quoteBack to top

I probably didn't make my post clear. That was already attempted - it presents different problem: Instead of dispalying translated difenes in combination of jpeg with security code it effectively replaces jpeg with whatever I put into the defines. My original thought was that maybe whatever editor I'm using has a different formating that the one that original tarnslator had, so I set down and did full translation of lang-russian.php in my editor. Problem still presented itself. I know that editor works properly becouse everything else displayed properly plu I used it to translate one of the modules that didn't have a translation all together ...

Any other ideas?

BTW, thanks for reply.
Find all posts by rasputinView user's profileSend private messageVisit poster's website
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Thu Jun 05, 2003 6:21 pm Reply with quoteBack to top

Is it just a typo? You should be using

define("_SECURITYCODE","Security Code");
define("_TYPESECCODE","Type Security Code");

with, of course, your translation.

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Find all posts by RavenView user's profileSend private messageVisit poster's website
rasputin
Sergeant
Sergeant


Joined: May 30, 2003
Posts: 88


PostPosted: Thu Jun 05, 2003 7:18 pm Reply with quoteBack to top

Nope ... double checked and triple checked it .... nothing is wrong. I think I'll work on this problem fro mdifferent approach. I'll just get the lang-english.php and traslate it completely, i.e recreate from scratch. Last time I used cut/paste on lots of the portions ... it still could be the formating issue ...

Thanks for sugestions.
Find all posts by rasputinView user's profileSend private messageVisit poster's website
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.172 Seconds - 176 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::