Language translator needed
After the Laravel CMS installed, the language files copied to your Laravel-project-folder/resources/lang/vendor/laravel-cms/
eg. /resources/lang/vendor/laravel-cms/en, /resources/lang/vendor/laravel-cms/zh, /resources/lang/vendor/laravel-cms/es
There is only one language file b.php looks like below screenshot, it needs to be translate to different language.
How to do the translation?
- Fork the project from github first, clone the fork to your local
- Copy the folder your-laravel-project/resources/lang/vendor/laravel-cms/en to your language folder(need to use short-lang-code) eg. /resources/lang/vendor/laravel-cms/ar, /resources/lang/vendor/laravel-cms/es, /resources/lang/vendor/laravel-cms/hi
- Then translate the b.php language file, and test it by choose the same language at the CMS template.backend_language & template.frontend_language settings.
- Commit the changes to your fork, submit a pull request.
- Done!
How long it will take?
Currently, the b.php has around 150 lines that need to be translated. Let's say 30 - 60 minutes.
What language translator we need?
The blue color languages are the most needed. The red one already translated but you can improve.
"en":"English", "zh":"Chinese", "es":"Spanish", "ar": "Arabic", "ja": "Japanese", "hi":"Hindi", "pt":"Portuguese", "fr":"French", "ru":"Russian", "de":"German", "ko":"Korean", "it":"Italian", "la":"Latin"
Note: The two-letter above is the short locale language code you should use.
Laravel CMS language file structure screenshot example: