Code Monkey home page Code Monkey logo

Comments (4)

multipliedtwice avatar multipliedtwice commented on August 30, 2024 1

@ParvinEyvazov thank you very much, would be amazing to see such an update. Great library!

from json-translator.

multipliedtwice avatar multipliedtwice commented on August 30, 2024

This is the data to translate:

<p>- Guarantee the product as in the real picture.</p>
<p>- All products are the same as in the pictures.</p>
<p>- Guarantee that you won't be disappointed</p>
<p>- The product is made of good quality materials, meticulously sewn.</p>
<p>- Flexible, balanced with our feet.</p>
<p>- Products manufactured according to international standards, using grade A materials, are durable, and not easily broken</p><p>- Goes with every outfit, every occasion.</p>
<p>
<img src="http://localhost:1337/uploads/LW_Screen_Shot_2564_04_02_at_18_29_07_cf950666d4.png?format=webp&amp;q=40">
<img src="http://localhost:1337/uploads/1_y_M_Qvo3_Hyb_Is9_Vv_I_Fwc_Gp7w_9382dccccc.png?format=webp&amp;q=40">
<br>
</p>

The output returns broken img tag

from json-translator.

ParvinEyvazov avatar ParvinEyvazov commented on August 30, 2024

Hi @thousandsofraccoons ,

The main focus of the package was to translate the JSON files/objects which contain just words (or sentences) instead of HTML. But that would be a wonderful feature for the package to also support HTML translations.

Thank you for the feedback. I will try to add this feature asap. For a temporary solution, you can wrap the things that you don't want to translate with "{{don`t translate here}}".

For example, convert it

from this:

{
    "data": "here is the url https://www.google.com"
}

to that:

{
    "data": "here is the url {{https://www.google.com}}"
}

from json-translator.

ParvinEyvazov avatar ParvinEyvazov commented on August 30, 2024

Hey @multipliedtwice

jsontt now ignores URLs on translation after the v1.5.0 version. ✔️

from json-translator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.