LR7 - Decimal localeLR7 - Decimal localehttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1187705502024-03-28T13:43:36Z2024-03-28T13:43:36ZRE: LR7 - Decimal localeDavide del Vecchiohttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1187813642020-03-20T14:45:49Z2020-03-20T14:45:49ZI've foun that in Server Management->Properities->System Properties i've user.language = en and user.country = US (see attachment).<br /><br />How can I change that?Davide del Vecchio2020-03-20T14:45:49ZRE: LR7 - Decimal localeDavide del Vecchiohttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1187780082020-03-20T13:14:23Z2020-03-20T13:14:23ZOk, users language is set to Italian too.Davide del Vecchio2020-03-20T13:14:23ZRE: LR7 - Decimal localeOlaf Kockhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1187792792020-03-20T12:50:43Z2020-03-20T12:50:43Z<div class="quote-title">Davide del Vecchio:</div><blockquote><br />Where can I get user preferences?<br /></blockquote>under "Personal Information" on the user's Account Settings (or in Control Panel on the user's details page (the first one, that also shows the name)Olaf Kock2020-03-20T12:50:43ZRE: LR7 - Decimal localeDavide del Vecchiohttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1187772312020-03-20T10:18:04Z2020-03-20T10:18:04ZWell I want to apply that site wide, so if there is an option for that without looking at the code would be betterDavide del Vecchio2020-03-20T10:18:04ZRE: LR7 - Decimal localeDavide del Vecchiohttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1187748562020-03-20T10:16:55Z2020-03-20T10:16:55ZThanks for the reply, here is instance settings, site settings and browser settings in the attachments.<br /><br />Where can I get user preferences?<br /><br />Liferay version is 7.1.2Davide del Vecchio2020-03-20T10:16:55ZRE: LR7 - Decimal localeOlaf Kockhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1187719162020-03-20T07:03:12Z2020-03-20T07:03:12Z<div class="quote-title">Davide del Vecchio:</div><blockquote><br />I think I have to set the Locale.<br />Currently this is my portal-ext:<br /><br />company.default.locale=it_IT<br />company.default.time.zone=Europe/Paris<br />locales.enabled=it_IT<br />This is system-ext:<br />user.country=IT<br />user.language=it<br />user.timezone=Europe/Paris<br /><br />And in the database users have languageId = it_IT and timezoneId = UTC.<br /><br /></blockquote>To my knowledge, portal-ext.properties settings company.default.* only have an effect during the first startup, when the database is initialized.<br />The system-ext.properties are probably not too useful (maybe for logfiles, though I prefer them in UTC - a timezone without daylight saving duplications)<br />Liferay's language can be overridden/changed on many levels: Instance, Site, User, Browser. <br />Instance and Site have a default language, and a set of available languages/locales. Users have a preferred language. And language can also be negotiated by the Browser.<br />In order to get to the root of the problem, we'll need to know what your Instance Settings, Site Settings, User Preferences and Browser settings are - as well as the exact Liferay version. And it might make sense to clear cookies. And then, if you have any customization that might interfere with language negotiation.<br />And don't look at the database. Look at the UI - I hope you didn't update the language for your users directly in the database.Olaf Kock2020-03-20T07:03:12ZRE: LR7 - Decimal localeMohammed Yasinhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1187712242020-03-20T05:28:48Z2020-03-20T05:28:48ZHi,You can also use Decimal Format for displaying <a href="https://javarevisited.blogspot.com/2012/03/how-to-format-decimal-number-in-java.html">https://javarevisited.blogspot.com/2012/03/how-to-format-decimal-number-in-java.html</a>Mohammed Yasin2020-03-20T05:28:48ZLR7 - Decimal localeDavide del Vecchiohttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1187705492020-03-19T21:18:10Z2020-03-19T21:18:10ZI need to see decimal numbers with comma instead of dot (EU notation).<br />I think I have to set