탐색 건너뛰기

Open

Reported for: WPML Multilingual CMS 4.6.11

Topic Tags: Compatibility

Overview of the issue

If you are using the Cart Count widget from the Avada theme, you will experience that not all dynamic content parameters, as Singular or Plural, are available for translation.

Workaround

Please, make sure of having a full site backup of your site before proceeding.

  • Open …/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/FusionBuilder/DynamicContent.php file.
  • Look for line 10.
  • Replace:
    	protected $positions = [ 'before', 'after', 'fallback' ];
    
  • With:
    	protected $positions = [ 'before', 'after', 'fallback', 'singular_text', 'plural_text' ];
    
  • Refresh the translation by adding a small modification to the original content.

2 응답 에게 “Avada - Cart Count widget Dynamic Parameters Not Fully Available for Translation”

  1. Hi,
    I also have this problem with translating the Avada Cart Counter. If I apply that workaround, won’t that modification be overwritten when there is a new update?
    Tnx!

    • Hello there,
      Yes, there is a possibility that the the file gets overwritten while this issue is still open.
      However, our devs are aware of this situation and it should be fix soon.

답장을 남겨주세요

주제를 유지하고 다른 사람을 존중하십시오. 이 게시물과 관련 없는 문제에 대한 도움이 필요한 경우 지원 포럼을 사용하여 채팅을 시작하거나 티켓을 제출하십시오.

다음 태그를 사용할 수 있습니다.
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>