yireo / magento2-translatabletitle
Magento 2 extension to make XML layout titles translatable
Installs: 17
Dependents: 0
Suggesters: 0
Security: 0
Stars: 8
Watchers: 4
Forks: 2
Open Issues: 1
Type:magento2-module
Requires
- php: >=7.0.0
- magento/framework: *
Requires (Dev)
- composer/composer: *@dev
This package is auto-updated.
Last update: 2024-12-22 01:11:30 UTC
README
Magento 2 extension to make every page title (set in XML layout) translatable.
Backgrounds
Within Magento 2.1 (version at time of writing this), you can define a page title in XML layout using code like this:
<page>
<head>
<title>Example</title>
</head>
</page>
Unfortunately, this title is not translatable. This module can be installed to simply make it translatable anyway.
Installation
To install this extension, use the following command:
composer require yireo/magento2-translatabletitle
Afterwards, enable this module, run the setup scripts and flush the cache:
./bin/magento module:enable Yireo_TranslatableTitle
./bin/magento setup:upgrade
Status
Stable