icreator Posted March 22, 2015 Share Posted March 22, 2015 Orders Statuses not localized: I install PS16 by default localization then I load DE, US etc languages but all order statuses made only in one default language and I do manual translate in index.php?controller=AdminStatuses&id_order_state=12 Link to comment Share on other sites More sharing options...
erouvier29 Posted March 22, 2015 Share Posted March 22, 2015 I just tried this: Go to BO > Orders > Statuses, edit a status. Translate the status name using the language selector on the right of the field and save. Then, the order status is correctly translated in both BO (orders page) and FO (my orders) according to the active language (I didn't check emails to customers...) Isn't it the same for you? Which version do you use? Regards Link to comment Share on other sites More sharing options...
icreator Posted March 22, 2015 Author Share Posted March 22, 2015 (edited) Why standard statuses was not translated when I load a language? index.php?controller=AdminLocalization ver 1.6 - last Edited March 22, 2015 by icreator (see edit history) Link to comment Share on other sites More sharing options...
erouvier29 Posted March 22, 2015 Share Posted March 22, 2015 When you create a language and set the ISO code, you should be proposed to download the related language pack if available. I never tried that, but I assume it get only "static" translations (i.e. within PHP). Order statuses are kind of "dynamic" data as you can edit them from the BO, and related translations are stored into the database (ps_order_state_lang) and then not covered by the language pack. This is to be checked... From a technical point of view, it would be possible to automatically translate standard/default data when installing a language pack. You can still propose such an improvment on http://forge.prestashop.com/secure/Dashboard.jspa Anyway, is your issue solved now? Regards Link to comment Share on other sites More sharing options...
icreator Posted March 22, 2015 Author Share Posted March 22, 2015 idea - load standard statuses too and uppdate it in database - it easy made by script... Link to comment Share on other sites More sharing options...
erouvier29 Posted March 22, 2015 Share Posted March 22, 2015 Yes, not so difficult, but... 1/ Previously defined order states shall remain when adding a language, otherwise previous orders will become invalid. 2/ At the moment, order states translations are part of installation package (cf. install/langs/en/data/order_state.xml), and install/ is required to be deleted after installation (at least renamed). So, some "core" elements would have to change. Unless you redundantly provide those translations another way, at the risk of inconsistency. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now