kasparsd / contact-form-7-extras

Simple controls for the advanced Contact Form 7 features
https://formcontrols.com
18 stars 5 forks source link

Remove languages directory to allow community translations #19

Closed kasparsd closed 6 years ago

kasparsd commented 6 years ago

See https://developer.wordpress.org/plugins/internationalization/how-to-internationalize-your-plugin/#loading-text-domain

After WordPress 4.6 came out, translations now take translate.wordpress.org as priority and so plugins that are translated via translate.wordpress.org do not necessary require load_plugin_textdomain() anymore. If you don’t want to add a load_plugin_textdomain() call to your plugin you have to set the Requires at least: field in your readme.txt to 4.6.

buzztone commented 6 years ago

Text Domain needs to match exactly WP.org plugin url to get loaded onto translate.wordpress.org

kasparsd commented 6 years ago

Indeed @buzztone:

For a plugin to be imported properly and take advantage of language packs, it must have a text domain that matches its slug (e.g., a plugin with the “akismet” slug must have a text domain of “akismet”) and must not have more than one text domain.

from https://make.wordpress.org/meta/handbook/documentation/translations/