WPML

문제 개요

WPML과 함께 Shout 테마를 사용할 때, 번역된 항목에서 테마의 필드와 레이아웃 설정이 손실되고, 상단 바 텍스트와 바닥글 페이지는 기본 언어로 유지되며, 일부 숏코드의 텍스트는 번역되지 않고, vCard 위젯 텍스트는 번역할 수 없습니다. 이전 및 다음 글 링크가 다른 언어로 된 글로 연결될 수도 있습니다.

임시 해결 방법

  1. WPML설정으로 이동하여 사용자 정의 XML 구성 탭을 여세요.
  2. 이 코드를 추가하고 저장하세요:
    XML
    <wpml-config>
      <custom-fields>
          <custom-field action="translate">member_job</custom-field>
          <custom-field action="copy">_member_job</custom-field>
          <custom-field action="translate">member_byline</custom-field>
          <custom-field action="copy">_member_byline</custom-field>
          <custom-field action="translate">below_headings_text</custom-field>
          <custom-field action="copy">_below_headings_text</custom-field>
          <custom-field action="translate">testimonial_subheading</custom-field>
          <custom-field action="copy">_testimonial_subheading</custom-field>
          <custom-field action="translate">pirenko_rotating_text</custom-field>
          <custom-field action="copy">_pirenko_rotating_text</custom-field>
          <custom-field action="copy">featured_header</custom-field>
          <custom-field action="copy">_featured_header</custom-field>
          <custom-field action="copy">show_sidebar</custom-field>
          <custom-field action="copy">_show_sidebar</custom-field>
          <custom-field action="copy">sidebar_pos</custom-field>
          <custom-field action="copy">_sidebar_pos</custom-field>
      </custom-fields>
      <admin-texts>
        <key name="prk_shout_options">
          <key name="bar_left_text_1"/>
          <key name="theme_divider"/>
          <key name="woo_subheading"/>
          <key name="bottom_page_id"/>
        </key>
      </admin-texts>
      <shortcodes>
        <shortcode>
            <tag>pirenko_contact_info</tag>
            <attributes>
                <attribute>company_name</attribute>
                <attribute>street_address</attribute>
                <attribute>locality</attribute>
                <attribute>postal_code</attribute>
                <attribute>tel</attribute>
                <attribute>fax</attribute>
                <attribute>hours</attribute>
                <attribute>email</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>prk_sitemap</tag>
            <attributes>
                <attribute>txt_pages</attribute>
                <attribute>txt_blog_cats</attribute>
                <attribute>txt_posts</attribute>
                <attribute>txt_port_posts</attribute>
            </attributes>
        </shortcode>
      </shortcodes>
    </wpml-config>
  3. WPML문자열 번역으로 이동하세요. 상단 표시줄 텍스트를 번역하고, bottom_page_id을(를) 번역된 바닥글 페이지의 ID로 번역하세요.
  4. 번역에 필드가 포함되도록 페이지와 항목을 다시 번역하세요.
  5. vCard 위젯의 경우 언어당 하나의 위젯을 추가하고 위젯 설정에서 언어를 설정하세요.
  6. 이전 및 다음 글 링크의 경우 테마 개발자가 이 문제를 해결할 때까지 테마 옵션에서 글 네비게이션을 끌 수 있습니다.

모든 알려진 문제

이 문제에 대한 도움이 필요하십니까?

지원 문의를 하시면 저희가 함께 살펴보겠습니다.