Git Product home page Git Product logo

Comments (11)

hartenthaler avatar hartenthaler commented on July 3, 2024

And I thought that German is a complicated language ...

Let me try to understand that. You can not translate the combined sentence "x has n1 grandson(s) and n2 granddaughter(s) recorded.", because you don't know if 2 <= n1+n2 <= 4 or n1+n2 > 4? Right?

Ok, then we have to make two sentences out of this as you have suggested: "x has n1 grandson(s) recorded. " and "He/She has n2 granddaughter(s) recorded." Ok? This ("He/She") sounds better that repeating the same sentence two times. OK?

I have never seen this sequence with three parts like '%s má %d vnuka. ' . I18N::PLURAL . '%s má %d vnuky. ' . I18N::PLURAL . '%s má %d vnuků. '. So I just learned a new thing. Thank you!

from hh_extended_family.

jpretired avatar jpretired commented on July 3, 2024

No, Hermann, you probably do not understand me yet.
The 'combined' translation sentence you mention is OK.
The issue is in case when the person has either only grandsons (2 and more) or only granddaughters (2 and more).
Please give me some time to express my solution more clearly.

from hh_extended_family.

hartenthaler avatar hartenthaler commented on July 3, 2024

ok, then I got it. I will change the cases with only grandsons (2 and more) or only granddaughters (2 and more) from "translate" to I18N::PLURAL as proposed by you.

from hh_extended_family.

hartenthaler avatar hartenthaler commented on July 3, 2024

... done in Czech translation for 2 and more (only) grandsons and 2 and more (only) granddaughters. Modified in German and Dutch, too.

Can you check if it is ok now, please? Do we need this now in other parts, too?

from hh_extended_family.

jpretired avatar jpretired commented on July 3, 2024

I downloaded the latest 2.0.16.20 but cannot run it.
Blank screen!
Don't know why.

from hh_extended_family.

jpretired avatar jpretired commented on July 3, 2024

Sorry, forget it, it was my fault.
Please wait with translations, I made a few changes in both tab.phtml and module.php.
I will inform you asap.

from hh_extended_family.

hartenthaler avatar hartenthaler commented on July 3, 2024

I had this problem in the last weeks from time to time, too. But I do not know why. I didn't have it when I'm logged in, only when I'm logged out. Maybe try to logout and login again. If the reason is my module, I need help to find the reason.

Ok, I see that your problem is solved now. You have a lot of time because next week I don't have much time.

from hh_extended_family.

jpretired avatar jpretired commented on July 3, 2024

I suggest I will do all the changes regarding translations:

  • in module.php the functions czechTranslations, germanTranslations and dutchTranslations for all extended family parts,
  • in tab.phtml the corresponding lines in all parts,
    Let me know whether you agree.
    If yes then we have to organize our work so that we do not touch the code concurrently.

from hh_extended_family.

hartenthaler avatar hartenthaler commented on July 3, 2024

Go! Do it! Good idea! Thank you!

from hh_extended_family.

jpretired avatar jpretired commented on July 3, 2024

Here I am appending the final (hopefully) version as to Czech, German and Dutch translations discussed earlier in this issue.
Based on 2.0.16.20.
The .zip archive contains both module.php and tab.phtml.
hh_extended_family-module-and-tab.zip

from hh_extended_family.

hartenthaler avatar hartenthaler commented on July 3, 2024

Thank you a lot! I only found in tab.phtml one "grandmotherss".
I will integrate your contribution in the next release.

from hh_extended_family.

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.