Eventmie supports multiple languages, including Russian, Portuguese, Chinese, Japanese and even RTL languages such as Arabic, Persian, Urdu, etc.
{success} Eventmie
Auto-detects
RTL language and changes the website direction to RTL
When you run Eventmie install command, it publishes all the languages to your application resources/lang/vendor/eventmie
directory. So that if you wanna change something in an existing language, you can do so.
And, to add a new language, simply copy the en
directory and paste it as <your_language_name_shortcode>
. Then translate all the variable's VALUES inside the new language folder em.php
file.
{warning} Translate variable VALUES only and not VARIABLE NAMES
e.g Suppose you wanna add romanian
language. Simply copy the en
folder and paste it as ro
resources
│
├── lang
├── vendor
├── eventmie
├── en
└── ro
Then open resources/lang/vendor/eventmie/en/em.php
and add your language name
"en" => 'English',
"ar" => 'عربى',
"de" => 'Deutsche',
"fr" => 'Française',
"hi" => 'हिन्दी',
"it" => 'Italiano',
"ja" => '日本語',
"nl" => 'Nederlands',
"ru" => 'русский',
"zh-CN" => '中国',
"zh-TW" => '中國',
"ro" => 'Română', // the new language
{success} Once you add a new language, it'll be added to the language dropdown automatically.
Simply delete the language folder that you wanna remove from resources/lang/vendor/eventmie/
and it'll be removed from the language dropdown automatically.