
This plugin for GlotPress customizes the default behavior of a set of chosen pairs of Locales (root/variant), allowing you to automatically convert the approved/current strings in the root to its variant.
It keeps the root translations automatically converted and synced with its variant translations within your GlotPress install.
The only translations added to the variant translation set are those which are different from the root translation.
The strings that don’t need any conversion remain untranslated on the variant, falling back to the root Locale.
This plugin was heavily inspired by the Serbian Latin solution for transliteration of Serbian Cyrillic locale from translate.wordpress.org.
Install and activate GlotPress 3.0.0-alpha minimum version.
Install and activate this plugin from your plugins page.
Set the variants you want to be automatically converted with the filter gp_automatic_variants_list:
/** * Add my automatically converted variants. */ function my_automatic_variants( $locales ) { $additional_locales = array( 'ca-valencia', 'pt-ao90', 'ca-valencia', 'en-gb', 'de-at', 'de-ch', ); return array_merge( $locales, $additional_locales ); } add_filter( 'gp_automatic_variants_list', 'my_automatic_variants' ); Add your Locale actual conversion process with the filter gp_automatic_variants_convert_{variant_locale}:
Example for the variant ‘pt-ao90’:
/** * Actual conversion of the string. */ function convert_translation( $translation ) { return do_something( $translation ); } add_filter( 'gp_automatic_variants_convert_pt-ao90', 'convert_translation' ); For every translation project, add both root and variant translation sets as usual.
Translate only on the root Locale and see the conversions automatically propagate to the variant.
Starting from $0 per month.
Rating
Reviewers
No reviews
Tags
Developed By
Pedro Mendonça
Quick & Easy
Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!
Testimonial plugins for Wordpress
Contact Form plugins for Wordpress
Maps plugins for Wordpress
Translation plugins for Wordpress
Chat plugins for Wordpress
Slider plugins for Wordpress
Reviews plugins for Wordpress
Contact plugins for Wordpress
Galleries plugins for Wordpress
SEO plugins for Wordpress
Forms plugins for Wordpress
Comments plugins for Wordpress
Backup plugins for Wordpress
Privacy plugins for Wordpress
Optimize plugins for Wordpress
Tabs plugins for Wordpress
Social Sharing plugins for Wordpress
Events Calendar plugins for Wordpress
Comments plugins for Wordpress
Social Feeds plugins for Wordpress
Social Sharing plugins for Wordpress
Portfolio plugins for Wordpress
Video Player plugins for Wordpress
popup plugins for Wordpress
SiteMap plugins for Wordpress
Payment plugins for Wordpress
Coming Soon plugins for Wordpress
Inventory plugins for Wordpress
Testimonials plugins for Wordpress
Portfolio plugins for Wordpress
Membership plugins for Wordpress
Forms plugins for Wordpress
Analytics plugins for Wordpress
Events Calendar plugins for Wordpress
Sliders plugins for Wordpress
Analytics plugins for Wordpress
Reviews plugins for Wordpress
Security plugins for Wordpress
Ads plugins for Wordpress
Music Player plugins for Wordpress
Countdown plugins for Wordpress
Email Marketing plugins for Wordpress
Membership plugins for Wordpress
Ecommerce plugins for Wordpress
Customer Support plugins for Wordpress
Video Player plugins for Wordpress
Tabs plugins for Wordpress
Social Feeds plugins for Wordpress
Common Ninja Apps
Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.
Verify visitor age with an age verification popup that helps you meet legal requirements, protect your business, and ensure responsible access.
Capture email leads with an email subscription form that collects addresses, saves entries, sends notifications, and helps grow your audience.
Add a flexible size chart with visual guides and category tabs to help users choose accurate measurements while shopping.
Use a news ticker to display headlines and updates that highlight key information and keep users informed in real time.
Use an image magnifier to let visitors zoom in on photos, view fine details clearly, and enjoy a more accessible and informative visual experience.
Add a Stripe Button to your website to give customers a fast, trusted checkout experience.
Show social proof that displays real user activity to build trust instantly, boost credibility, and help increase conversions across your site.
Show YouTube videos with a YouTube slider that displays clips in a smooth, customizable layout to boost engagement.
Add social share buttons so visitors share content to major networks, boost engagement, and drive more referral traffic.
Add Messenger Chat to your site to communicate with visitors, offer fast support, and create a smoother user experience across all pages.
Show verified customer feedback with Google Reviews to build trust, strengthen credibility, and help visitors make confident purchase decisions.
Make it easy for supporters to contribute using PayPal or Stripe by adding a donation button that keeps giving fast, secure, and on site.
More plugins
The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!
