[wp-hackers] Translating to a different language than the one installed
david at wordshell.net
Sat Dec 21 10:41:22 UTC 2013
I'm currently working on a plugin that sends back an informational
message to a remote (WP) site.
The remote site's language might not be the same language as the remote
So, it seems that I need to locally translate the string to a different
language than the one installed.
Alternatively, that might be the wrong solution; perhaps the translation
should be done on the remote site, instead (so, the remote site would
maintain a list of message codes, to be translated to strings).
Anyone got experience of this? If I did decide to try to translate
locally, then is that even possible without gross hacks? (I think that
translating on the local side might be preferable, because on the remote
side, it's going to be plugins that developers build themselves using a
toolkit I supply them, and I want to minimise the amount of work they
have to do - though, I suppose, my 'toolkit' could have its own text
domain and keep its translations separate, so that the developer won't
have to fiddle with anything there).
Thanks for any insights!
UpdraftPlus - best WordPress backups - http://updraftplus.com
WordShell - WordPress fast from the CLI - http://wordshell.net
More information about the wp-hackers