Note that there are some explanatory texts on larger screens.

plurals
  1. POImplementing language translations for frameworks
    primarykey
    data
    text
    <p>I'm in planing process of my e-commerce solution and now the final question is how to implement language system.</p> <p>In past i worked with e-commerce solutions such as Magento, eCommerce and OpenCart however i would like to avoid their approach as it was horrible and in the end it slowed down the entire application.</p> <p>Take Magento for instance, it keeps language files in seperate folders and then code loads languages from files in that folder. The language files have over 10k lines and a lot of words and sentances repeat it selves for diffirent modules and the file has to be read on each load.</p> <p>I have a HMVC arhitecture and was thinking to expand that where each module that is part of the solution would have it's own language file however this is Magentos approach and it's not the best of solutions.</p> <p>I want my language file system to be as simple as possible and short keeping button names and label names in it and allowing anyone that wants to translate it to have easy time doing so. As i have a HMVC arhitecture i wanted to expand it and make it so that each module has it's own language file/class this way you only need to translate those modules that you are actually using instead of the appliaction to load all translations at once even for modules that are not being displayed.</p> <p>But i feel that keeping translations like this could prove problematic for performance and simplicity. I did look in to GoogleTranslate plugin option and while it's pretty decent i fell it's not ready yet nor a proper solution.</p> <p>What would be the best approach here. </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload