【问题标题】:Drupal 7 field sharing between translations of a node节点翻译之间的 Drupal 7 字段共享
【发布时间】:2023-04-01 12:35:01
【问题描述】:

假设我有一个想要翻译成 5 种语言的内容类型。还要考虑我的内容类型有 10 个字段,其中 7 个是数字,其中 3 个是文本。

不需要将这 7 个字段翻译成每种语言, 但是当我翻译每个内容时,我应该花费大量时间为每种语言填充相同的值。

【问题讨论】:

    标签: php drupal drupal-7 content-management-system


    【解决方案1】:

    如何将 7 个字段存储在第一种内容类型中,将剩余的 3 个字段存储在第二种内容类型中。然后使用References 模块将它们相互连接?这样,您只需要用 3 个字段“翻译”内容类型。

    这种情况的一种变体可能是使用实体,而您随后将使用Entity Reference 模块。还有可能还有Entity Translation 模块,其中有很多Community Documentation 可供您入门。

    Drupal 7's new multilingual systems compilation 包含一组关于多语言网站的有趣帖子...

    PS:您可能还想查看https://drupal.stackexchange.com/questions/17466/ 以获取有关两种翻译变体的更多信息/详细信息。

    【讨论】:

      猜你喜欢
      • 2013-11-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-03-12
      • 2014-09-06
      • 2013-07-11
      • 2015-02-18
      • 2012-08-26
      相关资源
      最近更新 更多