I'm writing a plugin and i wanted to i18n correctly text which i'm storing in the db or in an external file. How should i do that?As of now we are generating pot files with wordpress and so all the Translatable text is in calls
__( 'text', 'plugin_name');
But there is some text i would like to store in the db or in another format and that i don't know how to put into the POT files.
The only thing that come to my mind is to use arrays for these data structures so that i can translate the values, but are there other options?