Skip to main content
dipanjanc686649
February 2, 2018

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

dipanjanc686649
February 8, 2018

Can anybody please respond ?

Translate
kautuk_sahni
Level 9
February 12, 2018

Checking internally!!

Translate
Kautuk Sahni
Level 2
November 1, 2018

Hi Kautuk,

Did you get any updates fro the team?

Translate
Level 2
November 1, 2018

Hi,

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

Regards

Sofiyan

Translate
Level 3
November 7, 2018

trying to find similar solution.. any suggestions?

Translate