Code Monkey home page Code Monkey logo

Comments (6)

realjax avatar realjax commented on July 3, 2024

He is right. But I think the way the software constructs these sentences prohibits it.

Cheers

"J. T. L." [email protected] schreef op 28 april 2015 20:02:36 CEST:

We received the following comments from a developer using the API:

The following two sentences have minor grammatical problems:

  1. Lichte regen vandaag tot op zondag met temperaturen stijgend tot
    19°C op zondag
  2. Lichte regen morgen tot van maandag met temperaturen stijgend tot
    16°C op maandag.

Literally translated is:

  1. Light rain today till up Sunday with temperatures increasing to
    19°C on Sunday.
  2. Light rain tomorrow till from Monday with temperatures increasing
    to 16°C on Monday.

A better sentence would be:

  1. Lichte regen vandaag t/m zondag met temperaturen stijgend tot
    19°C op zondag
  2. Lichte regen morgen tot maandag met temperaturen stijgend tot
    16°C op maandag.

I believe the existing translation is from @basvdijk and @realjax...
any thoughts on this?


Reply to this email directly or view it on GitHub:
#32

from translations.

basvdijk avatar basvdijk commented on July 3, 2024

I agree with the proposed translation to be a better one.

On 28 apr. 2015, at 20:02, J. T. L. [email protected] wrote:

We received the following comments from a developer using the API:

The following two sentences have minor grammatical problems:

Lichte regen vandaag tot op zondag met temperaturen stijgend tot 19°C op zondag
Lichte regen morgen tot van maandag met temperaturen stijgend tot 16°C op maandag.
Literally translated is:

Light rain today till up Sunday with temperatures increasing to 19°C on Sunday.
Light rain tomorrow till from Monday with temperatures increasing to 16°C on Monday.
A better sentence would be:

Lichte regen vandaag t/m zondag met temperaturen stijgend tot 19°C op zondag
Lichte regen morgen tot maandag met temperaturen stijgend tot 16°C op maandag.
I believe the existing translation is from @basvdijk and @realjax... any thoughts on this?


Reply to this email directly or view it on GitHub.

from translations.

 avatar commented on July 3, 2024

Thanks.

@realjax - Could you be more specific? Perhaps I can work out a way around the issue.

from translations.

realjax avatar realjax commented on July 3, 2024

Again, I'm not sure, but take for instance this part
..tot van maandag..

The 'van maandag' part is also used in the a sentence like:

'From monday until sunday' (Van maandag tot zondag) . If we leave out the word 'van' as the developer rightfully suggested, his example would be correct but this one would be incorrect as it no longer has a translation for the word 'from'

It's a consequence of the fact that sentences in English are not constructed the same way as Dutch ones are. I tried to level those problems out as much as possible for the original Dutch translation but couldn't completely prevent the awkward sentence every now and then.

from translations.

 avatar commented on July 3, 2024

Well, what I mean is, what is it in the module that prevents fixing this? There is a mechanism which can be used to inspect the context in which a phrase is used so as to be able to determine how to structure that phrase. Would this be sufficient to work around the issue in this case?

(Example: https://github.com/darkskyapp/forecast-io-translations/blob/master/lib/lang/de.js#L100-L109 )

from translations.

realjax avatar realjax commented on July 3, 2024

Could be, I'll look into the code when I have time to see if this would work!

from translations.

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.