Allows to translate the default magento routes into other languages
PHP HTML
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app it_IT translation Oct 1, 2015
screenshots Inline translation block Nov 8, 2014
.travis.yml Update .travis.yml Feb 22, 2015
README.MD Badge Poser Nov 20, 2015
composer.json This is not required Feb 21, 2015
modman Inline translation block Nov 8, 2014
phpunit.xml.dist Update phpunit.xml.dist Feb 22, 2015

README.MD

Magento Language Routes

Build Status Code Climate Latest Stable Version Total Downloads Latest Unstable Version License

Features

  • Translate all URLs for each store (e.g. /customer/account/create -> /kunde/konto/erstellen)
  • Easy translation without development skills by using the backend
  • Translate third party extensions out of the box
  • Ability to translate URLs to CMS pages, too
  • Extension uses the Magento Cache to avoid performance issues
  • Manage permissions for translations by roles
  • Old URLs are still working (even if they translated)
  • Inline-Translation of URLs

Configuration

You can enable the translation module for each store in configuration:

  • System / Configuration / Web / Url Options / Enable route translation (default: Yes)

It is possible to forward the user automatically to the translated URL:

  • System / Configuration / Web / Url Options / Forward to translated route (default: No)

Usage

It is recommended, to install and test this extension in a test environment.

Example: You want translate "/customer/account/login" to "/kunde/konto/anmelden"

By using the Backend

This is recommended when adding translations in production environments

  1. Go to System / Language Routes
  2. Click Add
  3. Choose your store
  4. Select a route part
  • Route: customer is the route in this url
  • Controller: account is the controller
  • Action: login is the action
  1. Enter a translation
  2. Save
  3. Check the changes in Frontend

By using inline translation

This is recommended when adding translations in staging / development environments

  1. Go to System / Configuration
  2. Open the Developer menu
  3. Navigate to "Translate inline"
  4. Enabled for Frontend -> Yes
  5. Clear caches
  6. Open the frontend and translate every url step by step

Screenshots

Backend Grid

Backend Grid

Backend Grid

Dev

If you need an url which is not translated, you can add the parameter _notranslate (set it to true) This is the same behavior, as requesting secure urls by adding _secure.

This package is also available at Packagist

Requirements

  • PHP >= 5.3.0
  • Magento 1.6, 1.7, 1.8, 1.9

Contributors

Copyright (c) 2014 Matthias Kleine

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.