THELIA Forum

Welcome to the THELIA support and discusssion forum

Announcement

Rejoignez la communauté sur le Discord Thelia : https://discord.gg/YgwpYEE3y3

Offline


Bonjour,

J'ai fait tous mes tests sous index_dev
tout est ok (enfin presque wink)

mais quand je me mets sur index (prod)
ca passe en anglais
si je clique sur anglais puis remets en francais rien n y fait
seul la categorie passe en francais

je ne sais pas quoi faire....

une idee ???
Merci

Offline


En front office ou en back office ?


OpenStudio Toulouse

Offline

  • manu
  • faï tot petar miladiu

Offline


index_dev.php, comme son nom l'indique est utile pendant le développement. Les performances sont dégradées mais le cache est en permanence vérifier, dès qu'il y a une modification on le recalcul etc.

index.php, lui au contraire ne vérifie jamais la validité du cache pour gagner en performance. La contre partie c'est qu'il va falloir vider le cache manuellement à chaque modification (au niveau de la configuration). Pour vider le cache, 2 possibilités:

- ligne de commande : php Thelia cache:clear --env=prod --with-images
- par l'admin => configuration -> cache -> vider le cache


http://doc.thelia.net/
http://thelia.net/modules
http://raynaud.io
PGP public Key : 0xC6E546A6

Offline


Bonjour,

Je suis passer par l'admin
mon  chemin est different
- par l'admin => configuration -> configuration avancee -> vider le cache maintenant

cela ne change rien, seul la categorie et la description du produit nouveau passe en francais, tout le reste est en anglais


EDIT: je viens de m'apercevoir que c'est la copie du ttheme par default qui me fait ce bug
si je remets le theme par default tout redevient normal
bizarre c'est juste une copie du dosssier default...

il n'y a rien d'autre a faire ?  faire la copie du dossier default dans templates -> frontOffice
et allez dans configuration -> Gestion des variables ->      active-front-template   mettre le nom du nouveau dossier


en fait j'ai toujours le meme probleme
meme en remettant le theme -> default
le index.php n'est pas traduit entierement
meme en vidantr le cache
seul inde_dev.php est correct

Last edited by zzuutt (29-04-2014 08:10:47)

Offline


Bonjour,

Je viens d'installer Thelia sur un serveur mutu
tout s'est bien passe

lorsque que j'ai commence a saisir le catalogue au bout d'un moment
c'est devenu en anglais grrrr.. seul le titre de la categorie est en francais

Il y a que moi qui ait ce PB ?????

Offline


Bon j'ai fini par trouver tongue
j'ai vider manuellement le cache
Thelia2->Cache->Prod

via le Back cela ne le vide pas, helas sad
- par l'admin => configuration -> configuration avancee -> vider le cache maintenant

Offline


Dans le back-office, tu vides le cache de la configuration courante, donc :

/admin -> le cache de prod
index_dev.php/admin -> le cache de dev.

smile


OpenStudio Toulouse

Offline


Bonjour la je CRAQUEEEEE

J'ai tout installe sur mutu ovh
et voila le meme PB
comment ca arrive j'en sais rien
mais je n'ai que les categories et infos produit traduites en FR
le reste est en anglais

j'ai beau vider tous les caches rien n'y fait roll

que faire ????

Last edited by zzuutt (30-04-2014 10:52:19)

Offline


C'est peut etre lie ??!?
j'ai ce prbleme depuis qu'il ne veut plus me traduire les pages (front & back)
cote back

SmartyException: Unable to load template file 'include/tinymce_init.tpl' in 'string:{include file="include/tinymce_init.tpl"}'

    in /homez.317/xxxxxx/www/shop/core/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php line 127
    at Smarty_Internal_TemplateBase->fetch(null, null, null, null, false, false, true) in /homez.317/xxxxxx/www/shop/core/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php line 286
    at Smarty_Internal_Template->getSubTemplate('include/tinymce_init.tpl', null, null, null, null, array(), '0') in /homez.317/xxxxxx/www/shop/cache/dev/smarty/compile/961feab41813418b7e05fa821e34e16aa3d96acd.string.php line 22
    at content_5360dd52647242_22878002(object(Smarty_Internal_Template)) in /homez.317/xxxxxx/www/shop/core/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php line 180
    at Smarty_Internal_TemplateBase->fetch('string:{include file="include/tinymce_init.tpl"}') in /homez.317/xxxxxx/www/shop/core/lib/Thelia/Core/Template/Smarty/Plugins/Module.php line 93
    at Module->theliaModule(array('location' => 'product-edit-js'), object(Smarty_Internal_Template)) in /homez.317/xxxxxx/www/shop/cache/dev/smarty/compile/6f06f27d16de4690e7348939a47f3d39f20acf1a.file.product-edit.html.php line 978
    at content_5360dd51f0d906_70282907(object(Smarty_Internal_Template)) in /homez.317/xxxxxx/www/shop/core/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php line 180
    at Smarty_Internal_TemplateBase->fetch('file:product-edit.html') in /homez.317/xxxxxx/www/shop/core/lib/Thelia/Core/Template/Smarty/SmartyParser.php line 230
    at SmartyParser->internalRenderer('file', 'product-edit.html', array('category_id' => '4', 'product_id' => '2', 'folder_id' => '0', 'accessory_category_id' => '0', 'current_tab' => 'general', 'locale' => 'fr_FR', 'lang_code' => 'fr', 'lang_id' => '1', 'edit_language_id' => '1', 'edit_language_locale' => 'fr_FR', 'edit_currency_id' => '1', 'current_url' => 'http://www.xxxxxxxxxxxx.com/shop/web/index_dev.php/admin/products/update?product_id=2')) in /homez.317/xxxxxx/www/shop/core/lib/Thelia/Core/Template/Smarty/SmartyParser.php line 246
    at SmartyParser->render('product-edit.html', array('category_id' => '4', 'product_id' => '2', 'folder_id' => '0', 'accessory_category_id' => '0', 'current_tab' => 'general', 'locale' => 'fr_FR', 'lang_code' => 'fr', 'lang_id' => '1', 'edit_language_id' => '1', 'edit_language_locale' => 'fr_FR', 'edit_currency_id' => '1', 'current_url' => 'http://www.xxxxxxxxxxxx.com/shop/web/index_dev.php/admin/products/update?product_id=2')) in /homez.317/xxxxxx/www/shop/core/lib/Thelia/Controller/Admin/BaseAdminController.php line 453
    at BaseAdminController->renderRaw('product-edit', array('category_id' => '4', 'product_id' => '2', 'folder_id' => '0', 'accessory_category_id' => '0', 'current_tab' => 'general')) in /homez.317/xxxxxx/www/shop/core/lib/Thelia/Controller/Admin/BaseAdminController.php line 405
    at BaseAdminController->render('product-edit', array('category_id' => '4', 'product_id' => '2', 'folder_id' => '0', 'accessory_category_id' => '0', 'current_tab' => 'general')) in /homez.317/xxxxxx/www/shop/core/lib/Thelia/Controller/Admin/ProductController.php line 402
    at ProductController->renderEditionTemplate() in /homez.317/xxxxxx/www/shop/core/lib/Thelia/Controller/Admin/AbstractCrudController.php line 362
    at AbstractCrudController->updateAction()
    at call_user_func_array(array(object(ProductController), 'updateAction'), array()) in /homez.317/xxxxxx/www/shop/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php line 129
    at HttpKernel->handleRaw(object(Request), '1') in /homez.317/xxxxxx/www/shop/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php line 73
    at HttpKernel->handle(object(Request), '1', true) in /homez.317/xxxxxx/www/shop/core/lib/Thelia/Core/TheliaHttpKernel.php line 81
    at TheliaHttpKernel->handle(object(Request), '1', true) in /homez.317/xxxxxx/www/shop/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Kernel.php line 197
    at Kernel->handle(object(Request)) in /homez.317/xxxxxx/www/shop/web/index_dev.php line 37

j'ai beau le desinstaller et le reinstaller pareil
meme si je le desactive, je n'ai toujours pas la page entierement traduite

  • manu
  • faï tot petar miladiu

Offline

Offline


si je le desactive, je n'ai toujours pas la page entierement traduite

mais je n'ai plus l'erreur
En local en vidant le cache tout est redevenu ok
mais cher ovh rien a faire..........