首页 > 解决方案 > silverstripe 4 可翻译模块

问题描述

我正在尝试了解如何使用 SilverStripe4 设置多语言网站。我可以为 SilverStripe3 找到这个: https ://userhelp.silverstripe.org/en/3/optional_features/working_with_translations/about-translatable

但我找不到 SilverStripe 4 的可翻译模块的任何文档。

SilverStripe 4不支持构建多语言网站吗?或者现在有其他方法可以使网站多语言吗?

标签: silverstripesilverstripe-4

解决方案


Silverstripe CMS 本身已经可以通过将 i18n 文件添加到您的 mysite 或模块文件夹中的 lang 来进行翻译。

为了通过语言切换、正确链接等为最终用户实现可靠的站点翻译,我建议使用https://github.com/tractorcow/silverstripe-fluent,正如@RobbieAverill 所述。


推荐阅读