if the translation doesn't exist use english

Issue #387 resolved
Ivan Gonzalez Martin created an issue

if the translation doesn't exist use english at least.

Comments (4)

  1. Ivan Gonzalez Martin 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.

  2. Log in to comment