Multiple text-domains per single plugin - admin and frontend
There is a plugin:
- In admin area it has about 300 various strings added via
__('', 'my-textdomain')
. Most of these are form labels, titles, etc. - On "frontend" (which end user sees), there just 15 strings added via the same
__('', 'my-textdomain')
method
Most website editors will want to translate "frontend" part. Admin area part is technical and most editors will understand english version.
- Is it worth having two plugin textdomains - one for admin area strings and another one for "frontend"?
- Does it break any guidelines (the plugin is public)?
- Will it improve/simplify translator experience?
- Is it worth in terms of performance?
Something like:
__('', 'my-textdomain--admin')
for admin labels__('', 'my-textdomain--frontend')
for "frontend" labels
Topic textdomain translation Wordpress
Category Web