Sure here are the instructions for Chinese obviously you would do it for your language:
1. In the PHP Point Of Sale folder, navigate to system/language/
2. Copy the english folder and create a chinese folder
3. Open the text files and translate as necessary (optional)
4. In the PHP Point Of Sale folder, navigate to application/language/
5. Copy the english folder and create a chinese folder
6. Open the text files and translate as necessary (required)
7. In the PHP Point Of Sale folder, navigate and open application/views/config.php. application/views/employees/form.php, application/views/partial/header.php, application/views/login/edit_profile.php
Find:
and add your chinese language as shown by example in the code.
save the file.
8. Modify application/helpers/MY_date_helper.php —> function get_js_locale add
‘chinese' => 'zh-cn',
Now you will be able to pick the Chinese language from the config AND employee section of the page, and the program will be translated.
Comments
5 comments
Sure here are the instructions for Chinese obviously you would do it for your language:
1. In the PHP Point Of Sale folder, navigate to system/language/
2. Copy the english folder and create a chinese folder
3. Open the text files and translate as necessary (optional)
4. In the PHP Point Of Sale folder, navigate to application/language/
5. Copy the english folder and create a chinese folder
6. Open the text files and translate as necessary (required)
7. In the PHP Point Of Sale folder, navigate and open application/views/config.php. application/views/employees/form.php, application/views/partial/header.php, application/views/login/edit_profile.php
Find:
and add your chinese language as shown by example in the code.
save the file.
8. Modify application/helpers/MY_date_helper.php —> function get_js_locale add
‘chinese' => 'zh-cn',
Now you will be able to pick the Chinese language from the config AND employee section of the page, and the program will be translated.
Thanks. However In Header, Not showing the flags even we added flag. Only can see until Vietnamese.
Any suggestion , please
Did you put in
assets/assets/images/flags/language.png?
Yes. I did.
Please open support ticket and shared your modified code
Please sign in to leave a comment.