早上好,我正在尝试从我的Flask项目构建一个PWA应用程序。我在其中实现了国际化,但在构建应用程序时,这是我在PhoneGap上遇到的错误。
Building project: C:\Cygwin64\tmp\gimlet\4104270\project\CordovaApp.Windows10.jsproj
Configuration : debug
Platform : x86
Patching 10 in prebuild event...
Injected base.js reference to the www/index.html
Remov
我创建了基本页面,然后添加了别名front_page。接下来,我创建了这个节点的转换,并使用了相同的别名。在admin/config/system/site-information字段中的设置中,Default front page添加了front_page,但是在主页上切换语言是同一篇文章时显示的,没有翻译。怎么修呢?
嗨
我目前运营着一个多语言网站,组织方式如下:
site.com/fr/ (france),
site.com/be/ (belgium),
site.com/uk/ (UK)
...
and site.com is a page where we can select countries/ languages.
我听说和读到这不是一个好的做法,我应该为site.com设置一个默认语言
我的问题是:
1-例如,我应该添加美国英语作为默认语言吗?
2-删除/fr/并设置永久重定向到根目录(.com/fr/product重定向到.com/product)
3-或者你有更好的建议吗?
提前
我有一个雨果网站与一些翻译的网页。并不是所有的页面都被翻译了,因为我并不总是有志愿者来翻译每种语言的每一页。 在菜单中,我有一些链接,如果没有本地翻译,我想重定向到英文页面(所以总是有一个链接,但它可能不会被翻译)。 # Force to have /en/my-page and /fr/my-page routes, even for default language.
defaultContentLanguageInSubdir= true
# English is the default language
defaultContentLanguage = "en"