I18n translation fallback | Community
Skip to main content
dipanjanc686649
February 2, 2018

I18n translation fallback

  • February 2, 2018
  • 4 replies
  • 3961 views

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.

4 replies

dipanjanc686649
February 8, 2018

Can anybody please respond ?

kautuk_sahni
Community Manager
Community Manager
February 12, 2018

Checking internally!!

Kautuk Sahni
Level 2
November 1, 2018

Hi Kautuk,

Did you get any updates fro the team?

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

Level 3
November 7, 2018

trying to find similar solution.. any suggestions?