Can I use gettext to translate the contents of a database table?
For example, I have several database tables that never change content, for example. a table that links the country identifier ("fr", "de", ...) with the names of countries ("France", "Germany", ...), where the names of countries are written in English. I could add additional table columns to provide translation of country names in different languages, but I was wondering if it is possible to somehow use gettext to translate country names.
In case that matters, I use php and mark other fixed lines in the code with _('text-for-translation') .
source share