TYPO3:如何恢复已删除的语言?

发布于 2024-12-17 16:12:14 字数 194 浏览 6 评论 0原文

在表 pages_language_overlay 中,我可以看到有 sys_language_uid = 1 的条目。但是如果我在 id=0 的页面列表下查看,则没有语言。我怎样才能恢复语言?

问题是我试图在项目的副本上创建一种 id = 1 的新语言。然后我遇到了一些问题,因为 TYPO3 没有用 realURL 正确管理它(

In the table pages_language_overlay I can see that there are entrys with sys_language_uid = 1. But there is no language if i look under list on page with id=0. How can I recover the language?

The problem is that I tried to create a new language with the id = 1 on a copy of the project. Then I had some problems because TYPO3 didn't get it managed it right with realURL (see here). What can I do?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

横笛休吹塞上声 2024-12-24 16:12:15

您必须为您的网站创建额外的语言记录:

  • 在后端:激活列表模块
  • 选择整个页面树的根节点(id = 0)
  • 检查是否已经有一个包含记录的“网站语言”块
  • 如果没有:单击“创建新记录”(窗口顶部附近带有绿色加号的小图标)
  • 选择系统记录 ->网站语言
  • 选择名称、ISO 代码和标志
  • 为您的语言保存

现在确保您的新语言记录的 id=1。如果 ID 较高,则表 sys_language 中的自动增量值不为零(可能是因为您之前创建并删除了一种语言)。在这种情况下,您必须手动修改 sys_language(导出到 SQL,相应地修改 SQL,删除表并重新导入)。

干杯,约尔格。

You will have to create an additional language record for your website:

  • in backend: activate the list module
  • select the root node of the whole page tree (id=0)
  • check if there is already a block "Website Language" with a record in it
  • if not: click on "Create new record" (little icon with green plus close to top of window)
  • select System Records -> Website Language
  • select the name, ISO code and flag for your language
  • save

Now make sure that your new language record has id=1. If the ID is higher your autoincrement value in table sys_language was not zero (possibly because you have created and deleted a language earlier). In this case you will have to modify sys_language manually (export to SQL, modify SQL accordingly, delete table and reimport).

Cheers, Jörg.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文