you can get the current application locale like this: $currentLocale = $this ->localeSwitcher ->getLocale() ![]() php: a PHP file that returns an array with the translations ģ4 use Symfony\ Component\ Translation\ LocaleSwitcher Provides many loaders which are selected based on the following file extensions: The loader can be the name of any registered loader.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |