hmphu/magento2-vietnam-translit-urls

Friendly url for vietnamese accented characters ("ồ" => "o", "ừ" => "u").

1.0.0 2021-07-04 10:34 UTC

This package is auto-updated.

Last update: 2024-05-04 17:08:26 UTC


README

Latest Version on Packagist Software License

Purpose

The common Vietnamese characters are automatically adapted when URLs are created, but some accented characters are not converted. For example, an becomes a _. This module solves this problem and converts characters correctly in URLs ( => o, => u ...)

Restrictions

This module only affects the URL generation when URLs are auto-generated, i.e. when a new Product / Category / CMS Page is created, but the field "URL Key" is left empty. In that case, the URL key is being generated from the name. It doesn't affect existing Products / Categories / CMS Pages, as URL Keys are already generated for them.

Installation

  1. Install via composer
    composer require hmphu/magento2-vietnam-translit-urls
    
  2. Enable module
    bin/magento setup:upgrade
    

Configuration

Zero configuration needed.

Credits

License

The MIT License (MIT). Please see License File for more information.