I'm using Java + Spring for an international website.
The 2 languages are ZH and EN (Chinese and English).
I have 2 files: messages.properties (for English key/value pairs) and messages_zh.properties.
The site is coded in English using #springMessage tags. I then use Poeditor.com to have translators provide Chinese values for each English phrase. So, although the English messages.properties file is always complete, and although the messages_zh.properties file always has all of the keys, the messages_zh.properties file will sometimes have blank values because I receive translations from the translators several days later.
I need my system to display the equivalent English value (on my website) whenever the Chinese value is missing.
How can I tell Spring to "fall back" to use English whenever a Chinese value isn't available? I need this to happen on a value-by-value basis.
Right now, I see blank button labels on my site wherever a Chinese value is missing. I'd rather that English (the default language) be used whenever the Chinese is blank.