In readme
* Text Domain: advanced-responsive-video-embedder
Do I lose translations when I change my language domain for my plugin on wp?
I am annoyed by advanced-responsive-video-embedder
string and like to move to arve
but I fear this will remove the already done translations.
In readme
* Text Domain: advanced-responsive-video-embedder
Do I lose translations when I change my language domain for my plugin on wp?
I am annoyed by advanced-responsive-video-embedder
string and like to move to arve
but I fear this will remove the already done translations.
1 Answer
Reset to default 0I actually got a superfast response from the plugins mail. I'm assuming it's cool if I make this public.
I am wondering if I do I lose translations when I change my "Text Domain: xxxxx" inside my readme?
Yes but ...
You can't change that. Well, you can, but the WordPress translation system will always default to your plugin permalink. So it should always be whatever the plugin permalink is.
Please re-read:
https://developer.wordpress/plugins/internationalization/how-to-internationalize-your-plugin/#text-domains
By "defaults to" you mean its just always uses the slug no matter what is in there?
The translation system here (glotpress) always uses the permalink, no matter what.
If it always uses the plugins permalink slug can I just remove it? Is there even a point in having it in the readme for wp plugins then?
Yep, you totally can remove it. People keep it in there when they want to handle their own translations.
[email protected]
though. I just thought somebody here just knows fast. – NextGenThemes Commented Jan 21, 2021 at 18:17