Moderator
Yui
(@fierevere)
ゆい
Plugin has been 100% translated.
And has a language pack for russian: https://translate.wordpress.org/projects/wp-plugins/oa-social-login/language-packs/
You dont need to translate it yourself, translation must work out of the box, if your WP installation can fetch updates from WordPress.org servers.
These files were created automatically, though I’ve also tried downloading them manually into “/wp-content/plugins/oa-social-login/languages” and “/wordpress_11/public_html/wp-content/languages/plugins” folders. But still the translation doesn’t appear.
Moderator
Yui
(@fierevere)
ゆい
I confirm.
Info for plugin author:
ERROR: Your plugin slug is oa-social-login, but there seems no Text Domain: defined in oa-social-login.php! To correctly internationalize your plugin you will need it.
https://developer.wordpress.org/plugins/internationalization/how-to-internationalize-your-plugin/#text-domains
Thank you very much for the information!
So basically we only need to add this to the header?
Domain: oa-social-login
Domain Path: /languages
-
This reply was modified 3 years, 7 months ago by
Social Login.
Moderator
Yui
(@fierevere)
ゆい
Text Domain: oa-social-login
in plugin header
Make sure that prepared strings refer to correct textdomain, which should match plugin slug oa_social_login
is wrong
-
This reply was modified 3 years, 7 months ago by
Yui.
I see that in the plugin we use this (with underscores) :
return __ ('Registration Form', 'oa_social_login');
Do we need to use underscores here as well?
Text Domain: oa_social_login
Ok, so we need to replace these:
return __ ('Registration Form', 'oa_social_login');
by
return __ ('Registration Form', 'oa-social-login');
?
Moderator
Yui
(@fierevere)
ゆい
https://developer.wordpress.org/plugins/internationalization/how-to-internationalize-your-plugin/#text-domains
The text domain must match the slug of the plugin. If your plugin is a single file called my-plugin.php or it is contained in a folder called my-plugin the domain name should be my-plugin. If your plugin is hosted on wordpress.org it must be the slug of your plugin URL (wordpress.org/plugins/<slug>).
The text domain name must use dashes and not underscores.
Yes. Need to replace everywhere.
Ok! Will do! Thank you for the help!
Hello,
I have now pushed version 5.5.0 with the correct text domain.
Best Regards,
Moderator
Yui
(@fierevere)
ゆい
Plugin Author
Claude
(@claudeschlesser)
Hello,
do you need any help with the translations?
Regards,
Moderator
Yui
(@fierevere)
ゆい
do you need any help with the translations?
Just tried to get OP to translate something 🙂 She seem not interested, i have translated new strings myself.
@makspostal , hello 🙂
Plugin Author
Claude
(@claudeschlesser)
Thank you so much! It’s really great that it’s fully translated in russian now!
Max
(@makspostal)
Hello @fierevere,
Thank you. I’ve made a couple of adjustments in Russian translation. Please approve them.