Open cagartner opened 7 years ago
With the release of the laravel 5.4, they changed the default translate for a better one, there is the possibility of upgrading this project to 5.4?
anyway i am going to upgrade it for sure before i will release 1.0. But thanks @cagartner
Hello
@cagartner finally i have upgraded to laravel 5.4 and done basic translation as well. Take a look at
modules/base/User/view/lang/en and modules/base/User/view/lang/hi (Hindi)
Thanks
Hello @indpurvesh I'm interested in helping with Spanish translation.
This is a great project, congratulations!
AugustoSL
@agsotelo thank for your help regarding the translation. I will add more lang soon.
@indpurvesh I can help with Korean translation.
But how about applying .po .mo style translation? If then, we can utilize google translation. Which makes translation super-easy :) https://translate.google.com/toolkit
All we have to do is just import .po file, convert&edit it, then download it.
For reference, competitor laravel-aimeos already using i18n translation.
@darron1217 Thanks i keep that idea in my mind. Once i finished some important features then i will implement this one too thanks again.
@indpurvesh I can help you with arabic translation
I can help for french translation
May i know where is the directory file path for translation files? Is it inside each of the separate modules? I only saw en folder
There is one for Admin Lang folder which is here.
Admin Lang: https://github.com/avored/framework/tree/master/resources/lang
FrontEnd Theme Lang: https://github.com/avored/laravel-ecommerce/tree/master/themes/avored/default/lang/en
ok, so any translations should be in those directory that you mentioned.
In Frontend localization we need a fall back path for en as default. @ghermans has some issue when we create a new theme.
I would suggest to use the default localization method of Laravel: https://laravel.com/docs/5.3/localization, but particulary I don't like this method.
I prefer the https://github.com/xinax/laravel-gettext method, because the readability of the views is much better.
What you thinks?
This project is awesome and soon I intend to help with PR's.
Cheers.