Coder Social home page Coder Social logo

Comments (11)

KapiX avatar KapiX commented on June 29, 2024

Glossaries added in 53d66d6.
Pretranslation (which will make use of them) will come soon.

from polyglot.

humdingerb avatar humdingerb commented on June 29, 2024

Nice! Do I understand correctly:
The "Only full phrases should be added here, no partial matches." meaning that it'll work only for 100% matches and the word(s) will be replaced 1:1 from what's in the "Glossary". The Glossary is not like the "Terminology" at https://dev.haiku-os.org/wiki/i18n/de_DE/Terminology , where there are sometimes explanations on how something is to be translated.

from polyglot.

humdingerb avatar humdingerb commented on June 29, 2024

One more thing: How are ellipsis handled? I suppose, those could be ignored?

from polyglot.

KapiX avatar KapiX commented on June 29, 2024

it'll work only for 100% matches and the word(s) will be replaced 1:1 from what's in the "Glossary".

Yes.

The Glossary is not like the "Terminology" at https://dev.haiku-os.org/wiki/i18n/de_DE/Terminology , where there are sometimes explanations on how something is to be translated.

It could be made that way but I'm not sure if there is value in that right now.

How are ellipsis handled? I suppose, those could be ignored?

They aren't handled at all right now because pretranslations are not implemented, but it's a good point.
To be sure I understand correctly: you mean treating … (one character) and ... (three dots) as if they are the same?

from polyglot.

humdingerb avatar humdingerb commented on June 29, 2024

I'm not sure if there is value in that [Termnology] right now.

Agreed.

you mean treating … (one character) and ... (three dots) as if they are the same?

That, and with/without ellipsis and other punctuation like colons. Colons often appear in text control labels, and the same term without punctuation in buttons etc. ("Save...", Save").

from polyglot.

KapiX avatar KapiX commented on June 29, 2024

Pretranslation is available in the menu now. People using the feature will be added as authors of the specific translation (for bookkeeping), but will not be added as contributor to the project (the table below the languages) - the translations are not theirs and they just clicked the button :).

from polyglot.

humdingerb avatar humdingerb commented on June 29, 2024

Very good! I'll look into updating the documentation soon.

from polyglot.

KapiX avatar KapiX commented on June 29, 2024

What I forgot to mention is I have actually implemented punctuation separation (help is already updated), so you might want to remove it from German glossary.

from polyglot.

humdingerb avatar humdingerb commented on June 29, 2024

OK. That means puntuation (ellipsis, colon etc.) are ignored, right?

from polyglot.

KapiX avatar KapiX commented on June 29, 2024

Yes, but it only works one way:

  • Text: "Add:" Glossary: "Add" will match and return "Dodaj:"
  • Text: "Add" Glossary: "Add:" - no match

from polyglot.

humdingerb avatar humdingerb commented on June 29, 2024

Got it.

from polyglot.

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.