Saturday, June 06, 2015

[PrestaShop][EN] how to use Multilanguage in PrestaShop website Part 1 Describing structure in PrestaShop 1.6

 [PrestaShop][EN] how to use Multilanguage in PrestaShop website Part 1 Describing structure in PrestaShop 1.6

1. Structure in PrestaShop
            Translations Folder means a part of PHP files that contain language files, in the folder, each of PHP files are proceeded detail of language overall system both of front end and back end



            Modules Folder means a part of 2 main folders that are Views and Translations


                        Views means a template that contains all tags can display by PHP Smarty, all files are named *.tpl


                        Translations means each of language files that translates only a module that cannot relates with main structure of system, in the module,  which usually consists of a filename based on the country for examples; en.php (English), th.php (Thailand), and ja.php ( Japan)



P.S. Both of views and translations can put on the same folder in the some modules, especially, in the PrestaShop older version such as > 1.6



No comments: