简体   繁体   English

基于URL的Oro定位切换器

[英]Oro localization switcher based on URL

I need to configure website for difference languages based by path.我需要根据路径为不同语言配置网站。 Example: my.site/en/ and my.site/fr/ stands for en and fr localizations.示例: my.site/en/my.site/fr/代表enfr本地化。 I know it's possible to do with the help of multi-website configuration.我知道可以借助多网站配置来实现。 Is it possible to do with only one website?可以只用一个网站吗? In this case our users would have access to all localizations with one auth.在这种情况下,我们的用户将可以通过一个身份验证访问所有本地化。

You can install the application in a subfolder to have locales in the URL: https://doc.oroinc.com/backend/setup/installation-in-sub-folder/ .您可以将应用程序安装在子文件夹中,以便在 URL: https://doc.oroinc.com/backend/setup/installation-in-sub-folder/中具有区域设置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM