Why does CakePHP config file have a field named "language"

Well, I was going through the application where to find the variable named as "language" in the configuration file of the Cake application. Then I also found the same thing in Bootstrap where it called the same thing from a config file. Can anyone explain to me what this thing is doing from the config file. There's some rule of thumb behind this Globalization ... ??? Explain, please...!!!


source to share

1 answer

The docs explain it pretty well:


Basically you set up your language files, then the config parameter in the core.php file determines which language you are going to display.

The best thing about cake localization is that all you have to do is wrap all your content in __ (''), which will automatically localize your content.



All Articles