Skip to main content
dipanjanc686649
New Participant
February 2, 2018

I18n translation fallback

  • February 2, 2018
  • 5 replies
  • 3947 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.

5 replies

New Participant
November 7, 2018

trying to find similar solution.. any suggestions?

New Participant
November 1, 2018

Hi,

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

Regards

Sofiyan

kautuk_sahni
Employee
February 12, 2018

Checking internally!!

Kautuk Sahni
New Participant
November 1, 2018

Hi Kautuk,

Did you get any updates fro the team?

dipanjanc686649
New Participant
February 8, 2018

Can anybody please respond ?