I18n translation fallback | Community
Skip to main content
dipanjanc686649
New Participant
Feb 2, 2018 11:15 AM UTC

I18n translation fallback

Hi All,

We're implementing translations using the Dictionary. Using the I18n class, we get a key and attempt to retrieve it in a provided Locale.

We're aware it always falls back to the name of the key if the translation isn't available. However, we need to log the failure somewhere.

Looking at the ResourceBundle class, it's supposed to be sending a MissingResourceException, however we're never getting it.

Do you know of a way we can log if the translation attempt failed?

Thanks in Advance.

Dipanjan

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

5 replies

Level 3
Nov 7, 2018 10:36 AM UTC

trying to find similar solution.. any suggestions?

Translate
Level 2
Nov 1, 2018 9:38 PM UTC

Hi,

I am also trying to get the approach for log the failure.  Anyone got any solution for this?

Regards

Sofiyan

Translate
kautuk_sahni
Employee
Feb 12, 2018 2:02 PM UTC

Checking internally!!

Translate
Kautuk Sahni
Level 2
Nov 1, 2018 9:39 PM UTC

Hi Kautuk,

Did you get any updates fro the team?

Translate
dipanjanc686649
New Participant
Feb 8, 2018 11:13 AM UTC

Can anybody please respond ?

Translate