Open hishamco opened 5 years ago
Language Packs
folder in the host for the supported languagesLanguage Packs
named with the language name: English, French, Arabic .. etc{
"id": "SimplCommerce.LanguagePacks.English",
"name": "English",
"nativeName": "English",
"culture": "en",
"ISO": "ENG",
"version": "1.0.0"
}
It could be culture specific
{
"id": "SimplCommerce.LanguagePacks.English.US",
"name": "English - United States",
"nativeName": "English",
"culture": "en-US",
"ISO": "ENU",
"version": "1.0.0"
}
@thiennn if sound looks good, I will send a PR for it
Of course this should play nicely with the supported cultures that we pick up from the database
I think we should write a clear document on how to add new language first. I have write some lines here http://docs.simplcommerce.com/en/latest/how-to-add-new-languages/ it has not completed yet.
Add a UI to add a new language hasn't have much value at the moment because, It doesn't apply until the website restart
IMHO we should take care about to make SimplCommerce
ready for the RTM, revise & review the APIs to avoid any breaking changes later, after that we can work on docs extensively
Add a UI to add a new language hasn't have much value at the moment because, It doesn't apply until the website restart
I will struggle to avoid restarting the app, I promise if I did this many things will take the advantages
SimplCommerce
already has extensibility points in modules & themes, i'm thinking to add a language packs tooI will try later to write down some ideas of how we can implement this to play nicely with
SimpleCommerce