if the translation doesn't exist use english
Issue #387
resolved
if the translation doesn't exist use english at least.
Comments (4)
-
repo owner -
reporter I'm thinking about this, you load the translation at locale.cpp, then, when you load the language file to the hash map, you can store, instead of a string, a data structure with 2 string, the language string and the default language string.
Later, when you gettext, if the string is empty or whatever, load the default one.
It's an idea only.
-
repo owner sure, it simple way
-
repo owner - changed status to resolved
fixed
- Log in to comment
Yea, good idea... but some hard for realization, need time for thought