Coder Social home page Coder Social logo

Comments (1)

giusilvano avatar giusilvano commented on June 9, 2024 1

Hi LLCampos,

Following the PO specification, the two msgstr you wrote down represent the same string.

Quoting the PO spec (https://goo.gl/rRWK1R):

One should carefully distinguish between end of lines marked as ā€˜\nā€™ inside quotes, which are part of the represented string, and end of lines in the PO file itself, outside string quotes, which have no incidence on the represented string.

So there's no real information lost. The change in the PO syntax has no effects on the carried information, that is properly maintained.

Unfortunately, even if we try to maintain also the original syntax, in cases like this is impossible to do it.
The reason is that the original2xliff endpoint is meant to merge translated strings back in the original format, and there's no way to decide where to split the sentence in the translated language.

The "formatting" we maintain is about bolds, italics and so on in formats like Word documents or HTML.
We try to maintain the original file syntax too, but it's not always possible.

(Thanks for the compliment :D )

from matecat-filters.

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.