Fri 17 Apr 2020 10:17AM
Default language
![J](/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBM2I3Q1E9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==--c43850d29966ea68599a39687a618a115c8fea4b/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDRG9MWm05eWJXRjBTU0lJY0c1bkJqb0dSVlE2RkhKbGMybDZaVjkwYjE5c2FXMXBkRnNIYVFHQWFRR0FPZ3B6WVhabGNuc0hPZ3h4ZFdGc2FYUjVhVlU2Q25OMGNtbHdWQT09IiwiZXhwIjpudWxsLCJwdXIiOiJ2YXJpYXRpb24ifX0=--76fbfb4cf6c235059586b0c7c347dd0d77445cbe/jk2c.png%3F1460124297)
Is there any way to set the default language of Loomio v2 especially on the sign in/sign up page?
It seems that there is no longer any detection of the browser language. Everything remains in English.
![J](/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBM2I3Q1E9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==--c43850d29966ea68599a39687a618a115c8fea4b/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDRG9MWm05eWJXRjBTU0lJY0c1bkJqb0dSVlE2RkhKbGMybDZaVjkwYjE5c2FXMXBkRnNIYVFHQWFRR0FPZ3B6WVhabGNuc0hPZ3h4ZFdGc2FYUjVhVlU2Q25OMGNtbHdWQT09IiwiZXhwIjpudWxsLCJwdXIiOiJ2YXJpYXRpb24ifX0=--76fbfb4cf6c235059586b0c7c347dd0d77445cbe/jk2c.png%3F1460124297)
JosephK Mon 20 Apr 2020 8:10AM
Yes if browser language detection works, there is less need to reset the default language.
Still, it would be interesting to have a menu anyway to be able to choose the language for cases where the detection fails and the fallback language is not the most relevant one.
![RG](/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBK0xZRVE9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==--7a581de88c41bcec9b40d2bb53a4dc7ab8efdb69/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDRG9MWm05eWJXRjBTU0lJYW5CbkJqb0dSVlE2RkhKbGMybDZaVjkwYjE5c2FXMXBkRnNIYVFHQWFRR0FPZ3B6WVhabGNuc0hPZ3h4ZFdGc2FYUjVhVlU2Q25OMGNtbHdWQT09IiwiZXhwIjpudWxsLCJwdXIiOiJ2YXJpYXRpb24ifX0=--bee53b50eefebbfaf3427852775dd64daaceca76/IMG_4141.CR2.jpg)
Robert Guthrie Mon 20 Apr 2020 8:57AM
I'm deploying a fix for the auto detection of browser language when you're not signed in, now.
Robert Guthrie · Sun 19 Apr 2020 2:58AM
@JosephK - Oh, 2 problems!
I'll check that browser detection is working shortly. That's the biggest problem here, right?
There is a default locale option in rails, if you want we can setup an ENV so this can be overridden.