Skip to content

Translation doesn't work if string has breaks/spaces #14

@utamilah

Description

@utamilah

I apologize in advance if this has been resolved but I believe I have the latest iteration of this plugin and this is still an issue for me.

I will try to explain as best as I can. I had some HTML that looked something like this:

  <div class="col-md-12 text-center">
        <p class="trn">
              The text I want to translate goes here
        </p>
  </div>

The plugin wouldn't translate that text. But when I changed it to this:

<div class="col-md-12 text-center">
   <p class="trn">The text I want to translate goes here</p>
</div>

It now works fine.

Is there a way to make it so both ways work and I won't have to reformat my HTML? Thanks! :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions