Skip to content
Advertisement

Tag: locale

Manually switch _locale in symfony 4

I’m absolutely stuck in getting a solution to manually switch the _locale variable in Symfony 4. I followed these steps, but now I have absolutely no idea how to make a simple switch button in the nav section. I also took a look a this question, but this seems to be an older Symfony version.. Can anyone please help me

“ru_RU” (russian) setlocale not working on date and time

I am trying to use Russian language with setlocale: Output is : Thursday, August 29 Expected is : четверг, Август 29 Any help would be highly appreciated. Answer Found it! if you are using Linux hosting then try: will works fine. In case you are using windows hosting then try:

locale for Switzerland (to correctly display Swiss Franc)

I’m looking for the locale to set in PHP for Switserland, for a client that needs support for Swiss Franc. I can’t seem to find the correct locale for Switserland. Does anyone know which one I can use? I need it in the following format like: nl_NL, en_US, en_GB Answer it depends on what language your client speaks. There are

Advertisement