Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/owlwatch/aras-localize/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Custom WordPress plugin for LocalizeJS integration on the XPLM site.
Features
- Branded language switcher shortcode and theme shortcode replacement
- Alternate language link list shortcode
- Hreflang tags for localized pages
- Localized sitemap support for Yoast SEO
- Feed suppression for translated URLs
- Optional prerender proxy support for translated pages and crawlers
Configuration
Plugin settings are available under the Aras Localize options page in WordPress admin.
Global setting:
API key
Module settings:
Language SwitcherLink ListSitemapPrerender
The sitemap module can be disabled entirely. When enabled, localized URLs can be included as hreflang alternate links on each source URL (the default) or as separate sitemap entries.
Shortcodes
[aras_localize_switcher][aras_localize_link_list]
Repository Layout
This plugin lives inside the main WordPress repository for WPEngine deployment and is also synced to its own standalone GitHub repository with git subtree.