Skip to content
Translate your WordPress website easily.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin First test for travis May 4, 2018
languages
src Prevent replace content json ld May 10, 2019
templates/admin Update link register Apr 24, 2019
tests Update tests Apr 15, 2019
.editorconfig Init plugin v2 Apr 30, 2018
.gitignore Fix hreflang with autoswitch option Jan 23, 2019
.php_cs Rollback in work Jun 20, 2018
.travis.yml
LICENSE Initial commit Apr 30, 2018
README.md
bootstrap.php WIP Json ld May 6, 2019
composer.json WIP Apr 8, 2019
package.json Change logical save url translate Sep 25, 2018
phpcs.xml.dist Rollback in work Jun 20, 2018
phpunit.xml.dist
postcss.config.js Add postcss config and PR review Jun 27, 2018
readme.txt Prepare readme May 10, 2019
settings.json.default Remove vscode settings and add default May 2, 2018
webpack.config.js Update menu WIP Jan 4, 2019
weglot-autoload.php Rollback in work Jun 20, 2018
weglot-compatibility.php Update helper excluded paths Apr 8, 2019
weglot-functions.php Add custom settings option Apr 15, 2019
weglot.php Prepare readme May 10, 2019

README.md

Translate WP website – Weglot Translate

Weglot Slack Build Status CodeFactor

Requirements

You can download plugin on WordPress.org

  • PHP version 5.4 and later
  • Weglot API Key, starting at free level

Developers

To install the development environment:

  • git clone https://github.com/weglot/translate-wordpress.git weglot
  • cd weglot && composer install && npm install

Execute tests

  • ./bin/install-wp-tests.sh "wptest" "root" "" "127.0.0.1" "4.9.5"
  • ./vendor/bin/phpunit

Before each release : test the following

Switcher language

Functioning and links

  • Default button
  • In menu
  • Widget
  • Shortcode

Options

  • Exclude blocks
  • Exclude URLs
  • Auto switch

Admin settings

  • Change country flag
  • Select language
  • Check success / error on api key

Links

  • Internal links must have the language prefix
  • External links not translating

WooCommerce

  • Checkout
  • Redirect Thank you page
  • Email transactional
You can’t perform that action at this time.