Okay
  Public Ticket #812917
Translate Salient Composer texts
Closed

Comments

  • Roberto started the conversation

    I am trying to translate the texts I am creating with the Salient Composer plugin. They appear like this in the database:

    [vc_column][vc_column_text]
    <h2>Some sample text i want to translate</h2>
    [/vc_column_text][/vc_column]

    But I need to get them somehow, like the other texts of the theme, as such:

    [vc_column][vc_column_text]
    <h2><?php __("Some sample text i want to translate"); ?></h2>
    [/vc_column_text][/vc_column]

    But it appears that the text inside Composer widgets is not marked for translation by default. Is there a way to create a .po file with these strings and translate them? Alternatively, is there a way for Loco Translate or Polylang to detect these strings in order to translate them with their plugin? What's is the best way to translate your theme content if I have used the Composer extensively?


  •  8,994


    ThemeNectar Support Team