Hi,
I have just found Arastta. It is great!
I'm interested in Customizer but I see that customizer options is stored in file {your_theme}/customizer.json.
Should we change JSON-based to PHP-based customizer?
Because of
1. Consistent translation
Currently titles and descriptions are written like below
It is hard to make a PHP package to tranlsate these texts.
2. Hard customization
We does not customize that JSON-based file but we can do with PHP-based file with VQMOD/OCMOD.
What do you think?
I have just found Arastta. It is great!
I'm interested in Customizer but I see that customizer options is stored in file {your_theme}/customizer.json.
Should we change JSON-based to PHP-based customizer?
Because of
1. Consistent translation
Currently titles and descriptions are written like below
"title": {
"en": "General",
"tr": "Genel"
}
It is hard to make a PHP package to tranlsate these texts.
2. Hard customization
We does not customize that JSON-based file but we can do with PHP-based file with VQMOD/OCMOD.
What do you think?
In Themes
Share this post:
Responses (6)
-
Accepted Answer
Welcome on board, glad to see you liked it.
1) Right, we must use language strings there.
2) Arastta introduces a new modern Event/Hook System instead of the hacking method of vQmod/OCMod so we should just add the event for that:
http://arastta.org/docs/developers/event-system
So I'm ok with improvements but not changing to PHP, designers don't like it -
Accepted Answer
-
Accepted Answer
The external json based file is basically only for getting the settings in the backend.
Nevertheless, I have modified the complete Customizer to be multilinguale as the rest of the system
And I have reworked the complete controller.
Attached the new files, simply extract and overwrite.
I have NOT added a en-GB language file, only de-DE is included.
To have it in your own language, somply translate.
But if there is no translation availabe, the strings are displayed in English - you will see what I mean.
I ask everybody to tell me what you think - if okay it should be added to the core. -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
Everywhere Luis
- Update Center of your store
- http://arastta.org/download
- https://github.com/arastta/arastta/releases
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 »