TranslateResource: Improve performance of core cbi18n getFwLanguage

Description

There is too much logic going on every time we call "getFWLanguageCode" and "getFWCountryCode". These methods are both used to get default country and language for translateResource() so are called a lot.

Each method ends up using Java reflection so isn't the best for performance.

Assignee

Unassigned

Reporter

Dominic Watson

Labels

None

Accepted

Yes

Fix versions

Priority

Medium
Configure