Reply New Topic
2009/5/6 2:08:32
#1
Offline
Home away from home

Untranslated strings in 1.1.2


If the code is not clear enough, please click the image to refresh | Maximum attempts: 10


demo link - http://impress.cmsbg.info/modules/news/comment_new.php?com_itemid=1&com_order=0&com_mode=nest

The whole file captcha.php is translated as u can see bellow, but in the area where is available commenting options, comes in English


<?php
define("ICMS_CAPTCHA_CAPTION", "Код за потвърждение");
define("ICMS_CAPTCHA_INVALID_CODE", "Невалиден код за потвърждение!");
define("ICMS_CAPTCHA_TOOMANYATTEMPTS", "Твърде много опити!");
define("ICMS_CAPTCHA_MAXATTEMPTS", "Максимум опити: %d");

// For image mode
define("ICMS_CAPTCHA_RULE_CASESENSITIVE", "Кода е само с малки букви");
define("ICMS_CAPTCHA_RULE_CASEINSENSITIVE", "Кода е с малки и главни букви");
define("ICMS_CAPTCHA_REFRESH", "Ако кода не е ясен, щракнете на снимката, за да генерирате нов");

// For text mode
define("ICMS_CAPTCHA_RULE_TEXT", "Въведете това което виждате");
?>


The one with underline is supposed to be that one, but is not.

define("ICMS_CAPTCHA_REFRESH", "Ако кода не е ясен, щракнете на снимката, за да генерирате нов");


2009/5/6 8:15:03
#2
Offline
Home away from home

Re: Untranslated strings in 1.1.2

Strange indeed. I searched but there's no other file that containes this language variable....
Did you try to put your translations in the English file?
(If that works we have a bug, but the problem is solved...)

Grtz,

_________________
Ronaldus

www.leefinaandacht.nl

2009/5/6 8:26:18
#3
Offline
Home away from home

Re: Untranslated strings in 1.1.2

Excellent post ep98, my compliments.

Can you tell which version of news you have installed?
The captcha of Frameworks is used. Is there a language file in Frameworks for captcha?

I'll take a look with the latest version of news tonight when I get home from work. (downloaded from addons or from instantzero)


2009/5/6 10:17:41
#4
Offline
Home away from home

Re: Untranslated strings in 1.1.2

Quote:

I'll take a look with the latest version of news tonight when I get home from work. (downloaded from addons or from instantzero)


Downloaded news 1.56 from addons.impresscms.org
News 1.56 requires Frameworks as far as I know.

Installed News and Frameworks on ImpressCMS 1.1.2.
I have a tool that can search for text through all the files in a directory (can replace it too)

The text
If the code is not clear enough, please click the image to refresh
can be found in the following file:
/Frameworks/captcha/language/english.php
I think it falls back to the english file since there is no bulgarian file yet.

Hope this helps.

P.S. It still was a great post. Only thing that was missing was the ImpressCMS version (which could be found very logically by looking at your site) and the version of the modules you used (and where you downloaded them, sometimes that makes a difference too, unfortunately)
Keep it up! :thumbup:


2009/5/6 13:39:48
#5
Offline
Home away from home

Re: Untranslated strings in 1.1.2

ICMS version is noted in thread subject
news module is 1.53 modded to be used with adsense, not relay on Frameworks

So since there is a conflict between Frameworks, it files (language) have to be moved from Frameworks to languages/English

If u allow attachments to this forums, it will be more easy to attach such modded addons (modules).


2009/5/6 14:16:46
#6
Offline
Home away from home

Re: Untranslated strings in 1.1.2

can you try this on 1.2 alpha?
the conflict might happen when you have Frameworks in your root


2009/5/7 0:37:13
#7
Offline
Home away from home

Re: Untranslated strings in 1.1.2

I removed it, and now everything is ok, thanks


Reply New Topic extras
 Previous Topic   Next Topic
You can view topic.
You can start a new topic.
You can reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You can post without approval.