I've a great problem with translations management on my magento 1.9 e-commerce site. I've to change some words and phrases in French language. In particular I've to change this translation:
"Submit","Soumettre"
In:
"Submit","S'identifier"
"Soumettre" is a label of a button.
I added new tanslation in file translate.csv of French language folder of the theme. This path file is the following:
app\design\frontend\enterprise\theme\locale\fr_FR\translate.csv
And the added row is:
"Submit","S'identifier"
I expected that this translation overwrite those contained in the folder
app/locale/fr_FR
but this dosn't happen.
The phtml file that manages the view is the following: frontend/enterprise/theme/template/page/1column.phtml
The button is shown the following image:
PHP is the following:
<?php
/**
* Magento Enterprise Edition
*
* NOTICE OF LICENSE
*
* This source file is subject to the Magento Enterprise Edition License
* that is bundled with this package in the file LICENSE_EE.txt.
* It is also available through the world-wide-web at this URL:
* http://www.magentocommerce.com/license/enterprise-edition
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to [email protected] so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade Magento to newer
* versions in the future. If you wish to customize Magento for your
* needs please refer to http://www.magentocommerce.com for more information.
*
* @category design
* @package enterprise_default
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
* @license http://www.magentocommerce.com/license/enterprise-edition
*/
?>
<?php
/**
* Template for Mage_Page_Block_Html
*/
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>"
lang="<?php echo $this->getLang() ?>">
<head>
<?php echo $this->getChildHtml('head') ?>
<meta name="viewport" content="<?php
echo(Mage::helper("balmain/MobileDetect")->isiOS() ? " minimal-ui, " : "");
?> width=device-width, height=device-height, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<?php
$msie = strpos(strtolower($_SERVER["HTTP_USER_AGENT"]), 'msie') ? true : false;
if ($msie) {
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"http://" . $_SERVER['HTTP_HOST'] . "/skin/frontend/enterprise/balmain/css/balmain_ie.css\" media=\"all\" />";
}
$fire = strpos(strtolower($_SERVER["HTTP_USER_AGENT"]), 'fire') ? true : false;
if ($fire) {
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"http://" . $_SERVER['HTTP_HOST'] . "/skin/frontend/enterprise/balmain/css/balmain_fire.css\" media=\"all\" />";
}
?>
<meta http-equiv="X-UA-Compatible" content="IE=10">
<script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "Organization",
"name" : "Balmain",
"url" : "http://www.balmain.com/",
"sameAs" : [
"https://www.facebook.com/balmainparis",
"https://www.twitter.com/Balmain",
"https://plus.google.com/+BALMAINofficial/",
"https://www.instagram.com/balmain/",
"https://www.youtube.com/user/BALMAINofficial"
]
}
</script>
</head>
<body data-locale="<?php echo Mage::app()->getStore()->getCode(); ?>"
<?php
echo ' class="body ' . ($this->getBodyClass() ? $this->getBodyClass() : "")
. (Mage::helper("balmain/MobileDetect")->isiPad() ? " device__ipad" : "")
. (Mage::helper("balmain/MobileDetect")->isiPhone() ? " device__iphone" : "")
. '"'
?>>
<?php /*
<!-- Google Tag Manager -->
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-KRQDMC"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-KRQDMC');</script>
<!-- End Google Tag Manager -->
*/ ?>
<?php /*
<div id="iphoneLandscapeMessage">
<div class="wrapper_iphoneLandscapeMessage">
<div class="message_iphone_logo"></div>
<div class="message_iphone__landscape">
<?php
echo $this->__("Please rotate your device into Portrait mode");
?>
</div>
</div>
</div>
*/ ?>
<?php echo $this->getChildHtml('global_messages') ?>
<div class="all-wrap-balmain default-skin" id="all-wrap-balmain">
<div class="main-cookies-warning">
<div class="add-new-product"></div>
</div>
<div class="preventScrollInAllPage"></div>
<?php echo $this->getChildHtml('after_body_start') ?>
<div class="wrapper">
<?php echo $this->getChildHtml('global_notices') ?>
<div class="page">
<?php echo $this->getChildHtml('header') ?>
<?php echo $this->getChildHtml('breadcrumbsContainer') ?>
<div id="main-right-column" class="main col1-layout">
<div class="col-main">
<?php echo $this->getChildHtml('content') ?>
</div>
</div>
<?php echo $this->getChildHtml('global_cookie_notice') ?>
<?php echo $this->getChildHtml('before_body_end') ?>
</div>
<?php echo $this->getChildHtml('footer_before') ?>
<?php echo $this->getChildHtml('footer') ?>
</div>
<?php echo $this->getAbsoluteFooter() ?>
</div>
</body>
</html>
I cleared the cache but the result is always the same.
Can you help me, please?