[ 
https://issues.apache.org/jira/browse/NIFI-6732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Scott Aslan updated NIFI-6732:
------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

> Support a falling back to non-country locale to look for translations
> ---------------------------------------------------------------------
>
>                 Key: NIFI-6732
>                 URL: https://issues.apache.org/jira/browse/NIFI-6732
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: FDS
>            Reporter: Rob Fellows
>            Assignee: Rob Fellows
>            Priority: Major
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> There is currently only a `messages.es.xlf`. This is the generic Spanish 
> version of the text. However, most users will have their browser locale set 
> to their language-country combination. Meaning users from Mexico would have a 
> locale of `es-mx` and the current logic will try to find the messages files 
> for `es-mx` and not find it, then default to the english version. However, it 
> might be better to strip off the country and try again in cases like this and 
> give the user an opportunity to get the messages for the generic language 
> which in this example would be `es` and it would return those messages.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to