Je suis nouveau sur Magento, alors j’en ai beaucoup à apprendre! J’ai installé Magento avec succès et maintenant je voudrais ajouter quelques produits pour simuler un site bilingue anglais/français. J’ai cherché des instructions claires pour le faire, mais je n’ai rien trouvé de satisfaisant jusqu’à présent.
Actuellement, j’ai quelques catégories avec un drop-down “English - Français” que j’ai réussi à faire apparaitre en allant dans Systems > Manage Stores et en ajoutant cette ligne:
Main Website | Main Website Store | Français
Je ne comprends pas encore l’histoire des différents “website” et “store”, mais ce que je veux c’est un seul site (évidemment), disponible en deux langues (ou plus).
J’ai ensuite télécharger et mis le dossier “fr_FR” dans /app/locale/ avec “en_US”. Ça me semblait logique.
Maintenant, je ne sais pas quoi faire d’autres pour que :
1. le site change de langue lorsque je choisie “Français” dans la boutique;
2. je puisse entrer des versions anglaises et française de mes catégories et produits.
Tes premières étapes sont bonnes.
Pour afficher ton site (=store view) français en français, il faut que tu ailles dans System > Configuration > onglet Général.
Ensuite, tu sélectionnes ton magasin français à l’aide de la liste déroulante en haut à gauche. Enfin, tu choisis “Français” pour l’option “Profil local”.
Attention à bien penser à rafraîchir le cache: System > Gestion du cache.
Si tu fais des tests, n’hésites pas à désactiver le cache, tu éviteras de chercher pourquoi tes modifs ne sont pas prises en compte.
Pour les catégories, sélectionne ta catégorie. Puis choisis le magasin français (en haut à gauche), puis saisis un nom français. Enregistre. Et voilà.
Idem pour les produits.
N’hésite pas à faire des recherches sur le forum, ces questions ont déjà été posées plusieurs fois. Tu peux aussi consulter la documentation: http://www.magentocommerce.com/knowledge-base
Merci SeL. J’avais cherché dans les forums et le wiki, mais pas dans le knowledge base. On dirait qu’il y a peut-être trop de sources d’informations. Bref, je vais m’assurer des bien lire le knowledge base à l’avenir.
Salut !
Deja merci pour cette traduction ...
Et en fait je voudrais savoir si je suis le seul a avoir une drole d’erreur qui s’affiche aleatoirement depuis que j’ai mis cette traduction ... En fait j’ai ce code :
Notice: Undefined index: AZN in /home/pds/public_html/lib/Zend/Locale/Data.php on line 974 [0] in Zend_Locale_Data::getContent("fr_FR", "currencytoname", "EUR") in /home/pds/public_html/lib/Zend/Currency.php on line 302 [1] in Zend_Currency->getShortName("EUR", "fr_FR") in /home/pds/public_html/lib/Zend/Currency.php on line 87 [2] in Zend_Currency->__construct("EUR", Zend_Locale) in /home/pds/public_html/app/code/core/Mage/Core/Model/Locale.php on line 431 [3] in Mage_Core_Model_Locale->currency("EUR") in /home/pds/public_html/app/code/core/Mage/Directory/Model/Currency.php on line 134 [4] in Mage_Directory_Model_Currency->format(0) in /home/pds/public_html/app/code/core/Mage/Core/Model/Store.php on line 507 [5] in Mage_Core_Model_Store->formatPrice(0) in /home/pds/public_html/app/code/core/Mage/Core/Model/Store.php on line 488 [6] in Mage_Core_Model_Store->convertPrice(0, 1) in /home/pds/public_html/app/code/core/Mage/Catalog/Model/Layer/Filter/Price.php on line 149 [7] in Mage_Catalog_Model_Layer_Filter_Price->_renderItemLabel(1, 1) in /home/pds/public_html/app/code/core/Mage/Catalog/Model/Layer/Filter/Price.php on line 139 [8] in Mage_Catalog_Model_Layer_Filter_Price->_initItems() in /home/pds/public_html/app/code/core/Mage/Catalog/Model/Layer/Filter/Abstract.php on line 77 [9] in Mage_Catalog_Model_Layer_Filter_Abstract->getItems() in /home/pds/public_html/app/code/core/Mage/Catalog/Model/Layer/Filter/Abstract.php on line 71 [10] in Mage_Catalog_Model_Layer_Filter_Abstract->getItemsCount() in /home/pds/public_html/app/code/core/Mage/Catalog/Block/Layer/Filter/Abstract.php on line 93 [11] in Mage_Catalog_Block_Layer_Filter_Abstract->getItemsCount() in /home/pds/public_html/app/design/frontend/default/default/template/catalog/layer/view.phtml on line 42 [12] in include("/home/pds/public_html/app/design/frontend/default/default/template/catalog/layer/view.phtml") in /home/pds/public_html/app/code/core/Mage/Core/Block/Template.php on line 112 [13] in Mage_Core_Block_Template->fetchView("frontend/default/default/template/catalog/layer/view.phtml") in /home/pds/public_html/app/code/core/Mage/Core/Block/Template.php on line 144 [14] in Mage_Core_Block_Template->renderView() in /home/pds/public_html/app/code/core/Mage/Core/Block/Template.php on line 183 [15] in Mage_Core_Block_Template->_toHtml() in /home/pds/public_html/app/code/core/Mage/Core/Block/Abstract.php on line 549 [16] in Mage_Core_Block_Abstract->toHtml() in /home/pds/public_html/app/code/core/Mage/Core/Block/Text/List.php on line 36 [17] in Mage_Core_Block_Text_List->_toHtml() in /home/pds/public_html/app/code/core/Mage/Core/Block/Abstract.php on line 549 [18] in Mage_Core_Block_Abstract->toHtml() in /home/pds/public_html/app/code/core/Mage/Core/Block/Abstract.php on line 435 [19] in Mage_Core_Block_Abstract->_getChildHtml("left", 1) in /home/pds/public_html/app/code/core/Mage/Core/Block/Abstract.php on line 412 [20] in Mage_Core_Block_Abstract->getChildHtml("left") in /home/pds/public_html/app/design/frontend/default/default/template/page/3columns.phtml on line 43 [21] in include("/home/pds/public_html/app/design/frontend/default/default/template/page/3columns.phtml") in /home/pds/public_html/app/code/core/Mage/Core/Block/Template.php on line 112 [22] in Mage_Core_Block_Template->fetchView("frontend/default/default/template/page/3columns.phtml") in /home/pds/public_html/app/code/core/Mage/Core/Block/Template.php on line 144 [23] in Mage_Core_Block_Template->renderView() in /home/pds/public_html/app/code/core/Mage/Core/Block/Template.php on line 183 [24] in Mage_Core_Block_Template->_toHtml() in /home/pds/public_html/app/code/core/Mage/Core/Block/Abstract.php on line 549 [25] in Mage_Core_Block_Abstract->toHtml() in /home/pds/public_html/app/code/core/Mage/Core/Model/Layout.php on line 437 [26] in Mage_Core_Model_Layout->getOutput() in /home/pds/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php on line 314 [27] in Mage_Core_Controller_Varien_Action->renderLayout() in /home/pds/public_html/app/code/core/Mage/Catalog/controllers/CategoryController.php on line 65 [28] in Mage_Catalog_CategoryController->viewAction() in /home/pds/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php on line 337 [29] in Mage_Core_Controller_Varien_Action->dispatch("view") in /home/pds/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php on line 149 [30] in Mage_Core_Controller_Varien_Router_Standard->match(Mage_Core_Controller_Request_Http) in /home/pds/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php on line 147 [31] in Mage_Core_Controller_Varien_Front->dispatch() in /home/pds/public_html/app/Mage.php on line 388 [32] in Mage::run("base") in /home/pds/public_html/index.php on line 28
Notice: Undefined index: EQE in /home/pds/public_html/lib/Zend/Locale/Data.php on line 974 [0] in Zend_Locale_Data::getContent("fr_FR", "currencytoname", "EUR") in /home/pds/public_html/lib/Zend/Currency.php on line 302 [1] in Zend_Currency->getShortName("EUR", "fr_FR") in /home/pds/public_html/lib/Zend/Currency.php on line 87 [2] in Zend_Currency->__construct("EUR", Zend_Locale) in /home/pds/public_html/app/code/core/Mage/Core/Model/Locale.php on line 431 [3] in Mage_Core_Model_Locale->currency("EUR") in /home/pds/public_html/app/code/core/Mage/Directory/Model/Currency.php on line 134 [4] in Mage_Directory_Model_Currency->format(0) in /home/pds/public_html/app/code/core/Mage/Core/Model/Store.php on line 507 [5] in Mage_Core_Model_Store->formatPrice(0) in /home/pds/public_html/app/code/core/Mage/Core/Model/Store.php on line 488 [6] in Mage_Core_Model_Store->convertPrice(0, 1) in /home/pds/public_html/app/code/core/Mage/Catalog/Model/Layer/Filter/Price.php on line 149 [7] in Mage_Catalog_Model_Layer_Filter_Price->_renderItemLabel(1, 1) in /home/pds/public_html/app/code/core/Mage/Catalog/Model/Layer/Filter/Price.php on line 139 [8] in Mage_Catalog_Model_Layer_Filter_Price->_initItems() in /home/pds/public_html/app/code/core/Mage/Catalog/Model/Layer/Filter/Abstract.php on line 77 [9] in Mage_Catalog_Model_Layer_Filter_Abstract->getItems() in /home/pds/public_html/app/code/core/Mage/Catalog/Model/Layer/Filter/Abstract.php on line 71 [10] in Mage_Catalog_Model_Layer_Filter_Abstract->getItemsCount() in /home/pds/public_html/app/code/core/Mage/Catalog/Block/Layer/Filter/Abstract.php on line 93 [11] in Mage_Catalog_Block_Layer_Filter_Abstract->getItemsCount() in /home/pds/public_html/app/design/frontend/default/default/template/catalog/layer/view.phtml on line 42 [12] in include("/home/pds/public_html/app/design/frontend/default/default/template/catalog/layer/view.phtml") in /home/pds/public_html/app/code/core/Mage/Core/Block/Template.php on line 112 [13] in Mage_Core_Block_Template->fetchView("frontend/default/default/template/catalog/layer/view.phtml") in /home/pds/public_html/app/code/core/Mage/Core/Block/Template.php on line 144 [14] in Mage_Core_Block_Template->renderView() in /home/pds/public_html/app/code/core/Mage/Core/Block/Template.php on line 183 [15] in Mage_Core_Block_Template->_toHtml() in /home/pds/public_html/app/code/core/Mage/Core/Block/Abstract.php on line 549 [16] in Mage_Core_Block_Abstract->toHtml() in /home/pds/public_html/app/code/core/Mage/Core/Block/Text/List.php on line 36 [17] in Mage_Core_Block_Text_List->_toHtml() in /home/pds/public_html/app/code/core/Mage/Core/Block/Abstract.php on line 549 [18] in Mage_Core_Block_Abstract->toHtml() in /home/pds/public_html/app/code/core/Mage/Core/Block/Abstract.php on line 435 [19] in Mage_Core_Block_Abstract->_getChildHtml("left", 1) in /home/pds/public_html/app/code/core/Mage/Core/Block/Abstract.php on line 412 [20] in Mage_Core_Block_Abstract->getChildHtml("left") in /home/pds/public_html/app/design/frontend/default/default/template/page/3columns.phtml on line 43 [21] in include("/home/pds/public_html/app/design/frontend/default/default/template/page/3columns.phtml") in /home/pds/public_html/app/code/core/Mage/Core/Block/Template.php on line 112 [22] in Mage_Core_Block_Template->fetchView("frontend/default/default/template/page/3columns.phtml") in /home/pds/public_html/app/code/core/Mage/Core/Block/Template.php on line 144 [23] in Mage_Core_Block_Template->renderView() in /home/pds/public_html/app/code/core/Mage/Core/Block/Template.php on line 183 [24] in Mage_Core_Block_Template->_toHtml() in /home/pds/public_html/app/code/core/Mage/Core/Block/Abstract.php on line 549 [25] in Mage_Core_Block_Abstract->toHtml() in /home/pds/public_html/app/code/core/Mage/Core/Model/Layout.php on line 437 [26] in Mage_Core_Model_Layout->getOutput() in /home/pds/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php on line 314 [27] in Mage_Core_Controller_Varien_Action->renderLayout() in /home/pds/public_html/app/code/core/Mage/Catalog/controllers/CategoryController.php on line 65 [28] in Mage_Catalog_CategoryController->viewAction() in /home/pds/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php on line 337 [29] in Mage_Core_Controller_Varien_Action->dispatch("view") in /home/pds/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php on line 149 [30] in Mage_Core_Controller_Varien_Router_Standard->match(Mage_Core_Controller_Request_Http) in /home/pds/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php on line 147 [31] in Mage_Core_Controller_Varien_Front->dispatch() in /home/pds/public_html/app/Mage.php on line 388 [32] in Mage::run("base") in /home/pds/public_html/index.php on line 28
Qui s’affiche un peu n’importe ou ... mais pas tout le temps ...
Avez vous la meme erreur ?
Non, pas encore, mais je m’y attaque aujourd’hui. J’espère pouvoir mettre à disposition rapidement (demain ?).
Cependant, la traduction d’une version antérieure permet d’avoir une traduction à environ 80%. En attendant…
Voilà, j’ai bien avancé sur la traduction.
Je mets à dispo le résultat.
Ca serait top si vous pouviez le tester.
Tout retour sera le bienvenu.
Je vous propose de me faire vos remarques avant demain soir (jeudi) afin de mettre en ligne dans Magento Translations.
J’espère qu’ensuite Varien mettra en ligne son outil pour qu’on puisse travailler les traductions plus facilement.
EDIT: @scoca, j’ai pris en compte ta remarque sur la ponctuation. Merci.