Support the ongoing development of Laravel.io →
posted 7 years ago
Packages
Last updated 2 years ago.
0

I think you have read this below line from mcamara/laravel-localization:

If the locale is not present in the url or it is not defined in supportedLocales, the system will use the application default locale or the user's browser default locale (if defined in config file)

Check config file.

0

saurabhd said:

I think you have read this below line from mcamara/laravel-localization:

If the locale is not present in the url or it is not defined in supportedLocales, the system will use the application default locale or the user's browser default locale (if defined in config file)

Check config file.

Hi Saurabhd,

But the situation is I have followed the instruction to create the config/laravellocalization.php. After that I have cancel the remark of the languages I want. Eg: en, es, zh, zh-Hant

However, after that no matter I created es, zh or zh-Hant folder under resources/lang, it also didn't work

Would you please give me some idea?

Thanks, Jacky

Last updated 7 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

wong0630 wong0630 Joined 4 Dec 2016

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.