Hi there
A "problem" for us swiss users is the decimal symbol. We use a . as decimal symbol and ' for the thousands. I know I can replace them in the language pack (in Opencart, I think there's the same way in Arastta) but I don't like to modify core-files. And I know I can to it with vQMod but that's not my preferred way.
I don't know how you handle it in other languages, do you have the same decimal symbol in every country that has the same language? If not, it would be nice to implement a setting in the adminpanel to change it. Let us discuss here, when I am not the only one who "needs" this feature I can submit an idea.
Cheers
Dominik
A "problem" for us swiss users is the decimal symbol. We use a . as decimal symbol and ' for the thousands. I know I can replace them in the language pack (in Opencart, I think there's the same way in Arastta) but I don't like to modify core-files. And I know I can to it with vQMod but that's not my preferred way.
I don't know how you handle it in other languages, do you have the same decimal symbol in every country that has the same language? If not, it would be nice to implement a setting in the adminpanel to change it. Let us discuss here, when I am not the only one who "needs" this feature I can submit an idea.
Cheers
Dominik
In General
Share this post:
Accepted Answer
Hi Dominik,
You can override the language text: http://arastta.org/tutorials/video/12-multi-language-support?t=20
Regards
You can override the language text: http://arastta.org/tutorials/video/12-multi-language-support?t=20
Regards
Responses (7)
-
Accepted Answer
I agree with Denis, Arastta has a really comfortable language overriding system.
But it has one bug: it does not include the main file (default.php).
And in that the decimal value is defined, but as long as this file is not included, as long it cannot be edited.
Someone of the dev-team should fix that. -
Accepted Answer
-
Accepted Answer
A few hours later .. that's me, I want a fully working system.
And therefore I have reworked the complete module 'language_override'.
Attached zip-file includes all files, also en-GB because I deleted a few vars not needed and added 2 new.
Simply extract and override existing files.
The most important value now is, that the values of 'default' language files are displayed now and can be edited.
Awaiting your feedback to make then a PR.
UPDATE: please use attachment from post below (is newer). -
Accepted Answer
Thank you Denis and Michael, any hints in finding the correct file and string? Is there an easier way than CTRL-F trough all the files to find the correct string to replace?
Thanks
Edit: it is pretty easy, now I know how it works... My 90y grandmother could do that, it's so easy!
Edit 2: it would be helpfull to sort ascending or descending... -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
Your Reply

Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »