[ 
https://issues.apache.org/jira/browse/OFBIZ-13328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18046115#comment-18046115
 ] 

Jacques Le Roux commented on OFBIZ-13328:
-----------------------------------------

Hi Leïla,

It's till not clear to me. What do you call "ofbiz locale"? And how could it be 
changed on trunk demo where you can't set properties but using those stored in 
DB?

I have tried changing locally both locale.properties.fallback 
(general.properties) and locale.properties.fallback (start.properties)
{code:java}
 framework/common/config/general.properties | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/framework/common/config/general.properties 
b/framework/common/config/general.properties
index 598f4d3293..441b5c031e 100644
--- a/framework/common/config/general.properties
+++ b/framework/common/config/general.properties
@@ -36,7 +36,7 @@ VISUAL_THEME=HELVETICUS_EMERALD
 #    properties missing in the locale you specified. This property does not
 #    control the default locale - the default locale is set in 
start.properties.
 #
-locale.properties.fallback=en
+locale.properties.fallback=es

 # -- Locales made available, separated by commas. This property controls
 #    which locales the user can select from. If this property is not used,
 .../src/main/resources/org/apache/ofbiz/base/start/start.properties     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/framework/start/src/main/resources/org/apache/ofbiz/base/start/start.properties
 
b/framework/start/src/main/resources/org/apache/ofbiz/base/start/start.properties
index 2be2171c46..ed782033cb 100644
--- 
a/framework/start/src/main/resources/org/apache/ofbiz/base/start/start.properties
+++ 
b/framework/start/src/main/resources/org/apache/ofbiz/base/start/start.properties
@@ -65,7 +65,7 @@ ofbiz.admin.key=so3du5kasd5dn
 # --    Returns: the preferred Locale for the client
 # -- We also use initialLocaleComplete in the screens for JavaScript part.
 # -- It though may be still used by jobs pending that run before any UI 
interactions.
-#ofbiz.locale.default=en_US
+ofbiz.locale.default=es_ES

 # -- The time zone for this OFBiz instance. Default depends on JVM environment
 #ofbiz.timeZone.default=GMT
{code}

I also changed the language to "español - [es]" using 
ordermgr/control/ListLocales

I have still the same result. So what should I change and what should I not 
change? TIA

Note that both locale.properties.fallback and locale.properties.fallback are 
DEPRECATED so maybe you use something else?

> DateTime pickers are not displayed according to the locale
> ----------------------------------------------------------
>
>                 Key: OFBIZ-13328
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-13328
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL COMPONENTS
>            Reporter: Mekika Leila
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>         Attachments: image-2025-12-17-14-22-18-732.png, 
> image-2025-12-17-14-23-23-874.png, image-2025-12-17-18-55-02-581.png, 
> screenshot-1.png, screenshot-2.png
>
>
> Currently when a date picker is rendered, the date format and names seems to 
> be displayed in english even if a jQuery date picker plugin translation file 
> exists for the selected locale (ex: for spanish with file datepicker-es.js) 
>  
> To reproduce:
> Go to  [find order 
> page|https://demo-trunk.ofbiz.apache.org/ordermgr/control/findorders]  and 
> test  Request Date date picker with spanish locale selected.
>  
> The goal of the proposed fix is to transmit the locale to the context of the 
> macro renderer for macro using 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to