yireo/yireo_translatabletitle

此包已被弃用,不再维护。作者建议使用 yireo/magento2-translatabletitle 包。

Magento 2 扩展,用于使 XML 布局标题可翻译

安装: 10

依赖: 0

建议: 0

安全: 0

星标: 8

关注者: 3

分支: 2

公开问题: 0

类型:magento2-module

0.0.1 2017-03-25 09:32 UTC

This package is auto-updated.

Last update: 2022-10-21 20:17:05 UTC


README

Magento 2 扩展,用于使每个页面标题(在 XML 布局中设置)可翻译。

背景

在 Magento 2.1(撰写本说明时的版本)中,您可以使用如下代码在 XML 布局中定义页面标题

<page>
    <head>
        <title>Example</title>
    </head>
</page>

遗憾的是,此标题不可翻译。此模块可以安装以使其可翻译。

安装

要安装此扩展,请使用以下命令

composer require yireo/magento2-translatabletitle

之后,启用此模块,运行设置脚本并清除缓存

./bin/magento module:enable Yireo_TranslatableTitle
./bin/magento setup:upgrade

状态

稳定