InTooDeep Posted December 7, 2012 Share Posted December 7, 2012 Hi I have translation problem, I make velvetsky as my theme in test shop. But there's a translation problems. All my translation to Polish are 100 or 99% I exported translation to theme so it looks the php file looks the same as the rest translations. All codes are correct. But the translation on Front Office is in 30% maybe. It translate cms plus few things. But buttons and all therest are leaved in english version. Can somebody can help me, or maybe had the same problem and solve it. http://test.beautydefined.pl Link to comment Share on other sites More sharing options...
InTooDeep Posted December 8, 2012 Author Share Posted December 8, 2012 or maybe where I can find #primary_block #buy_block also where I can menage whitch language is displayed by classes ? like Tax included whitout Tax etc. Link to comment Share on other sites More sharing options...
InTooDeep Posted December 8, 2012 Author Share Posted December 8, 2012 my backoffice isnt translated also Link to comment Share on other sites More sharing options...
sebkos Posted December 10, 2012 Share Posted December 10, 2012 Hi InTooDeep, when you import translation pack you can choose theme which should be translated. I don't know your PS version but you need to find your (administrator) profile in BO and change language (in PS 1.5.2 administration>employees) Link to comment Share on other sites More sharing options...
InTooDeep Posted December 10, 2012 Author Share Posted December 10, 2012 Hi thanks for replay, I use 1.8.4;.2 it's compatibile with the theme. Ok but what with the front office lang? I have ull translation in /translations and in theme /lang folder for Polish I really dont know Why it still input english, maybe I can manage this easy in back office. you can see that Language is set to Polish, but "cart" on the header isn't translated (so its probably some cart module translation but it's completed in PL) "Quantity" "On sale!" "more info" etc are still in english. In front office translation I have fully translated this, I don't know why it display English. Link to comment Share on other sites More sharing options...
sebkos Posted December 10, 2012 Share Posted December 10, 2012 try clearing smarty/compile directory Link to comment Share on other sites More sharing options...
InTooDeep Posted December 10, 2012 Author Share Posted December 10, 2012 I have two smary directions smary and smaryv2. You want me to delete all files? Link to comment Share on other sites More sharing options...
sebkos Posted December 10, 2012 Share Posted December 10, 2012 only files in smarty except index.php or you can use force compile in BO Link to comment Share on other sites More sharing options...
InTooDeep Posted December 10, 2012 Author Share Posted December 10, 2012 i delete all from smarty/compile I leave index.php still the same Link to comment Share on other sites More sharing options...
sebkos Posted December 10, 2012 Share Posted December 10, 2012 go to BO>translations, choose front office translation and Polish language. Check how many fields are translated in your theme (I can't remember PS 1.4 but I suppose there you can see default theme and your custom them listed). Find for example "add to cart" text if it's translated. Link to comment Share on other sites More sharing options...
InTooDeep Posted December 10, 2012 Author Share Posted December 10, 2012 (edited) I been there I make 100% translation Edited December 10, 2012 by InTooDeep (see edit history) Link to comment Share on other sites More sharing options...
sebkos Posted December 10, 2012 Share Posted December 10, 2012 OK, but are you sure those "shopping-cart-product-line" and "shopping-cart" sections are in your theme or default? Link to comment Share on other sites More sharing options...
InTooDeep Posted December 10, 2012 Author Share Posted December 10, 2012 (edited) I have same translation in shopping cart as france germany etc. Theres no lines of most of the lines from BO, they must be somewhere else. example translation in general modules/blockcart/FR.php "<?php global $_MODULE; $_MODULE = array(); $_MODULE['<{blockcart}prestashop>blockcart_c2e1362a9710a3dd86f937c2ea1f336d'] = 'Bloc panier'; $_MODULE['<{blockcart}prestashop>blockcart_e03093a5753b436ee1de63b6e3e1bd02'] = 'Ajoute un bloc avec le contenu du panier du client'; $_MODULE['<{blockcart}prestashop>blockcart_eb4ae207521bbe6403f7fe9564d38cda'] = 'Ajax : choix invalide.'; $_MODULE['<{blockcart}prestashop>blockcart_f4d1ea475eaa85102e2b4e6d95da84bd'] = 'Confirmation'; $_MODULE['<{blockcart}prestashop>blockcart_c888438d14855d7d96a2724ee9c306bd'] = 'Paramètres mis à jour'; $_MODULE['<{blockcart}prestashop>blockcart_f4f70727dc34561dfde1a3c529b6205c'] = 'Paramètres'; $_MODULE['<{blockcart}prestashop>blockcart_614a8820aa4ac08ce2ee398a41b10778'] = 'Panier AJAX'; $_MODULE['<{blockcart}prestashop>blockcart_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Activé'; $_MODULE['<{blockcart}prestashop>blockcart_b9f5c797ebbf55adccdd8539a65a0241'] = 'Désactivé'; $_MODULE['<{blockcart}prestashop>blockcart_dba281afb9a38e654ea9dab4cd6cb0ca'] = 'Activer le mode AJAX du panier (compatible avec le thème par défaut)'; $_MODULE['<{blockcart}prestashop>blockcart_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; $_MODULE['<{blockcart}prestashop>blockcart_20351b3328c35ab617549920f5cb4939'] = 'Personnalisation '; $_MODULE['<{blockcart}prestashop>blockcart_ed6e9a09a111035684bb23682561e12d'] = 'supprimer cet article du panier'; $_MODULE['<{blockcart}prestashop>blockcart_a85eba4c6c699122b2bb1387ea4813ad'] = 'Panier'; $_MODULE['<{blockcart}prestashop>blockcart_86024cad1e83101d97359d7351051156'] = 'articles'; $_MODULE['<{blockcart}prestashop>blockcart_f5bf48aa40cad7891eb709fcf1fde128'] = 'article'; $_MODULE['<{blockcart}prestashop>blockcart_9e65b51e82f2a9b9f72ebe3e083582bb'] = '(vide)'; $_MODULE['<{blockcart}prestashop>blockcart_4b7d496eedb665d0b5f589f2f874e7cb'] = 'Détails de l\'article'; $_MODULE['<{blockcart}prestashop>blockcart_853ae90f0351324bd73ea615e6487517'] = ' :'; $_MODULE['<{blockcart}prestashop>blockcart_09dc02ecbb078868a3a86dded030076d'] = 'Aucun produit'; $_MODULE['<{blockcart}prestashop>blockcart_f2a6c498fb90ee345d997f888fce3b18'] = 'Supprimer'; $_MODULE['<{blockcart}prestashop>blockcart_ea9cf7e47ff33b2be14e6dd07cbcefc6'] = 'Expédition'; $_MODULE['<{blockcart}prestashop>blockcart_ba794350deb07c0c96fe73bd12239059'] = 'Emballage'; $_MODULE['<{blockcart}prestashop>blockcart_4b78ac8eb158840e9638a3aeb26c4a9d'] = 'Taxes'; $_MODULE['<{blockcart}prestashop>blockcart_96b0141273eabab320119c467cdcaf17'] = 'Total'; $_MODULE['<{blockcart}prestashop>blockcart_0d11c2b75cf03522c8d97938490466b2'] = 'Les prix sont TTC'; $_MODULE['<{blockcart}prestashop>blockcart_41202aa6b8cf7ae885644717dab1e8b4'] = 'Les prix sont HT'; $_MODULE['<{blockcart}prestashop>blockcart_377e99e7404b414341a9621f7fb3f906'] = 'Commander'; " general modules/blockcart/pl.php <?php global $_MODULE; $_MODULE = array(); $_MODULE['<{blockcart}prestashop>blockcart_c2e1362a9710a3dd86f937c2ea1f336d'] = 'Blok koszyka'; $_MODULE['<{blockcart}prestashop>blockcart_e03093a5753b436ee1de63b6e3e1bd02'] = 'Dodaj blok zawierający koszyk klienta.'; $_MODULE['<{blockcart}prestashop>blockcart_eb4ae207521bbe6403f7fe9564d38cda'] = 'Ajax: Nieprawidłowy wybór.'; $_MODULE['<{blockcart}prestashop>blockcart_f4d1ea475eaa85102e2b4e6d95da84bd'] = 'Potwierdzenie'; $_MODULE['<{blockcart}prestashop>blockcart_c888438d14855d7d96a2724ee9c306bd'] = 'Zaktualizowano'; $_MODULE['<{blockcart}prestashop>blockcart_f4f70727dc34561dfde1a3c529b6205c'] = 'Ustawienia'; $_MODULE['<{blockcart}prestashop>blockcart_614a8820aa4ac08ce2ee398a41b10778'] = 'Koszyk Ajax'; $_MODULE['<{blockcart}prestashop>blockcart_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Włączony'; $_MODULE['<{blockcart}prestashop>blockcart_b9f5c797ebbf55adccdd8539a65a0241'] = 'Wyłączony'; $_MODULE['<{blockcart}prestashop>blockcart_dba281afb9a38e654ea9dab4cd6cb0ca'] = 'Aktywuj tryb AJAX dla koszyka (kompatybilne ze standardową skórką)'; $_MODULE['<{blockcart}prestashop>blockcart_c9cc8cce247e49bae79f15173ce97354'] = 'Zapisz'; $_MODULE['<{blockcart}prestashop>blockcart_20351b3328c35ab617549920f5cb4939'] = 'Dostosowanie #'; $_MODULE['<{blockcart}prestashop>blockcart_ed6e9a09a111035684bb23682561e12d'] = 'usuń produkt z koszyka'; $_MODULE['<{blockcart}prestashop>blockcart_a85eba4c6c699122b2bb1387ea4813ad'] = 'Koszyk'; $_MODULE['<{blockcart}prestashop>blockcart_86024cad1e83101d97359d7351051156'] = 'produkty'; $_MODULE['<{blockcart}prestashop>blockcart_f5bf48aa40cad7891eb709fcf1fde128'] = 'produkt'; $_MODULE['<{blockcart}prestashop>blockcart_9e65b51e82f2a9b9f72ebe3e083582bb'] = 'jest pusty'; $_MODULE['<{blockcart}prestashop>blockcart_4b7d496eedb665d0b5f589f2f874e7cb'] = 'Szczegóły produktu'; $_MODULE['<{blockcart}prestashop>blockcart_853ae90f0351324bd73ea615e6487517'] = ':'; $_MODULE['<{blockcart}prestashop>blockcart_09dc02ecbb078868a3a86dded030076d'] = 'Brak produktów'; $_MODULE['<{blockcart}prestashop>blockcart_f2a6c498fb90ee345d997f888fce3b18'] = 'Usuń'; $_MODULE['<{blockcart}prestashop>blockcart_ea9cf7e47ff33b2be14e6dd07cbcefc6'] = 'Dostawa'; $_MODULE['<{blockcart}prestashop>blockcart_ba794350deb07c0c96fe73bd12239059'] = 'Opakowanie'; $_MODULE['<{blockcart}prestashop>blockcart_4b78ac8eb158840e9638a3aeb26c4a9d'] = 'Podatek'; $_MODULE['<{blockcart}prestashop>blockcart_96b0141273eabab320119c467cdcaf17'] = 'Suma'; $_MODULE['<{blockcart}prestashop>blockcart_0d11c2b75cf03522c8d97938490466b2'] = 'Podane ceny są cenami brutto'; $_MODULE['<{blockcart}prestashop>blockcart_41202aa6b8cf7ae885644717dab1e8b4'] = 'Podane ceny są cenami netto'; $_MODULE['<{blockcart}prestashop>blockcart_377e99e7404b414341a9621f7fb3f906'] = 'Realizuj zamówienie'; Edited December 10, 2012 by InTooDeep (see edit history) Link to comment Share on other sites More sharing options...
InTooDeep Posted December 10, 2012 Author Share Posted December 10, 2012 (edited) It's probably so easy and I'm just ignorant, or its in config files and I don't know where and how to change it or in Cookie.php or some AJAX js files. eventualy product.php or some config product files i dont know Edited December 10, 2012 by InTooDeep (see edit history) Link to comment Share on other sites More sharing options...
sebkos Posted December 10, 2012 Share Posted December 10, 2012 I've installed PS 1.4 and....I got it! If you export language pack as gzip file there is information about theme name inside. So if you made your translation for default theme it's not applicable for another. Solution is to copy pl.php file from lang directory in default theme (for which you made Polish translation) and paste into lang directory in your custom theme. If that's not clear just send me PM (I'm also from Poland). Link to comment Share on other sites More sharing options...
InTooDeep Posted December 10, 2012 Author Share Posted December 10, 2012 I made that :/ I copy from original presta to velvetsky that I use, Check pm & thanks for your help btw Link to comment Share on other sites More sharing options...
Recommended Posts