Ra-Na / GTranslate-strings-xml

Creats a strings.xml file by Google auto-translating an input strings.xml file
GNU General Public License v3.0
333 stars 130 forks source link

Support <![CDATA[]]> </string> strings #16

Closed CDrosos closed 4 years ago

CDrosos commented 4 years ago

Sometimes we need to use <![CDATA[]]>if we want to use html text that comes from strings.xml like for example the below text that now is not properly translated

<string name="EmailExportSettings_AuthenticationIssuesText">
    <![CDATA[
      <b>Connectivity with Gmail / Yahoo etc.</b>
  <br/><br/>Public email clients have extra security options like 2 factor authentication that are not supported in applications like this one where emails are being sent automatically on background. If you want to send email using a public email client check their settings for an option to allow mobile applications to connect in the background. The recommended way to send emails is through personal email clients like the ones provided from personal / company domain name.<br/>
  <br/><b>I didn\'t recieve any emails.</b>
  <br/><br/>After setting your settings try to send an email by clicking the button send email now, if you get a message that says the email has been sent successfully this means that connection with your email has been established and the email has been sent. Check your spam folder or contact your internet provider and check if some of your incoming emails are being blocked.<br/>]]>  </string>
Ra-Na commented 4 years ago

The issue is resolved on the webpage, I update the repo later.

Ra-Na commented 4 years ago

needs to be reopened.... CDATA content is not translated

Ra-Na commented 4 years ago

seems to work now...