Support Forums

not pulling some lang definitions

This is a discussion on not pulling some lang definitions within the Technical Support forums, part of the Technical Support Forums category; Hi, For some reason there are two translations that are not getting pulled from the french.php. It is getting it ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

Reply
 
Thread Tools Display Modes
Old 06-06-2010, 10:44 PM   #1
Customer
 
Join Date: Feb 2010
Location: Montreal, QC
Posts: 286
Rep Power: 14
EnergyFreak is on a distinguished road
Default not pulling some lang definitions

Hi,

For some reason there are two translations that are not getting pulled from the french.php. It is getting it from english.php. I checked and both files have these two lines in it.

define('LANG_UPLOAD_ERROR_SIZE', 'Upload size exceeds limit of');
define('LANG_UPLOAD_ERROR_SIZE_SUF', '<br />Please reduce the size and try again.');

Supposed to be:

define('LANG_UPLOAD_ERROR_SIZE', 'Votre photo excède la limite de');
define("LANG_UPLOAD_ERROR_SIZE_SUF", "<br />Veuillez réduire la taille de l'image et recommencer.");
EnergyFreak is offline   Reply With Quote
Old 06-07-2010, 05:21 AM   #2
All Hands On Deck
 
seymourjames's Avatar
 
Join Date: Mar 2008
Posts: 3,529
Rep Power: 89
seymourjames is a jewel in the rough
Default

I do not see how that is possible if the rest of the french.php file is being used. Try clearing the contents of your templates_c folder (its a cache). If you do change those lines in the english.php file instead do they change in the display. If not they may to hardcoded into the template files and not being used as constants defined in the language file itself.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C
seymourjames is offline   Reply With Quote
Old 06-07-2010, 11:50 PM   #3
Customer
 
Join Date: Feb 2010
Location: Montreal, QC
Posts: 286
Rep Power: 14
EnergyFreak is on a distinguished road
Default

So I cleared the cache and changed it in my english.php and it does not change anything, so it was either hardcoded in the php file and not made to be translated. Maybe Eric can include this fix in the next patch.
EnergyFreak is offline   Reply With Quote
Old 06-07-2010, 11:57 PM   #4
Customer
 
Join Date: Feb 2010
Location: Montreal, QC
Posts: 286
Rep Power: 14
EnergyFreak is on a distinguished road
Default

Maybe someone can try to repeat this bug and see if it does it for them as well.
EnergyFreak is offline   Reply With Quote
Old 06-08-2010, 03:48 AM   #5
All Hands On Deck
 
seymourjames's Avatar
 
Join Date: Mar 2008
Posts: 3,529
Rep Power: 89
seymourjames is a jewel in the rough
Default

why not search for the string in your files to see where it actually is placed?
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C
seymourjames is offline   Reply With Quote
Old 06-08-2010, 09:51 AM   #6
Customer
 
Join Date: Feb 2010
Location: Montreal, QC
Posts: 286
Rep Power: 14
EnergyFreak is on a distinguished road
Default

I did, no results came up because my files are encrypted.
EnergyFreak is offline   Reply With Quote
Old 06-08-2010, 01:43 PM   #7
All Hands On Deck
 
seymourjames's Avatar
 
Join Date: Mar 2008
Posts: 3,529
Rep Power: 89
seymourjames is a jewel in the rough
Default

Submit a ticket then and Eric should be able to determine if it is hardcoded into your encrypted files.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C
seymourjames is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sorting out $smarty.const.LANG industrialpost Technical Support 3 06-04-2009 09:52 AM
install question - pulling my hair out fendter Technical Support 14 11-09-2008 05:53 PM
$smarty.const.LANG... skyblue Technical Support 5 09-20-2008 07:51 PM


All times are GMT -4. The time now is 06:17 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0