Server.Coldfusion.SupportedLocales not supporting Welsh locale

Description

The following does not return Welsh locale

<cfoutput>
<cfloop LIST = "#Server.Coldfusion.SupportedLocales#" index = "locale" delimiters = ",">
#locale#<br />
</cfloop>
</cfoutput>

Language Welsh
Territory or region United Kingdom
Code set UTF-8
Default locale name CY_GB

Environment

Windows server 2012 R2
Java 8 update 152 (build 1.8.0.152-b16)

Activity

Show:

David 12 June 2018 at 13:19
Edited

Hi Michael,

Thank you for taking care of this so quickly.

This may be a silly question, what will you change do?

Will I be able to use Welsh locale in Lucee providing I upgrade my Lucee install?
Will Lucee support Welsh local as along the the JVM supports it?
You mentioned a workaround, would I still need to implement that with your new change?

Thank you,

~D

Michael Offner 5 June 2018 at 07:19

what you can do as a workaround is this:
https://trycf.com/gist/6d827cab1dc61dbf2d59b5b4a1615337/lucee5?theme=monokai

best do it in the Application.cfc with help of this.locale=...;

we will add it do the core and for a future version adding the possibility to add custom locales.

Michael Offner 5 June 2018 at 07:16

Lucee supports all locales provided by the JYM (and more).
https://trycf.com/gist/912665b24b011bd73cf07d45d33258fd/lucee5?theme=monokai

In other words what locales are supported also depends on the JVM used.

Pothys - MitrahSoft 5 June 2018 at 06:21
Edited

I've analysed this ticket & lucee doesn't support Welsh locale. Same as that, ACF2018 doesn't support for this Welsh locale(CY_GB). will confirm about this locale.

Fixed

Details

Assignee

Reporter

Priority

Fix versions

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Sprint

Affects versions

Created 4 June 2018 at 10:57
Updated 12 June 2018 at 13:19
Resolved 6 June 2018 at 09:18

Flag notifications