Bug 153290 - This day in history plugin does not work in other language than english
Summary: This day in history plugin does not work in other language than english
Status: RESOLVED UNMAINTAINED
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: SVN trunk (KDE 4)
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-02 17:29 UTC by Sebastien Renard
Modified: 2017-01-07 21:52 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastien Renard 2007-12-02 17:29:52 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
OS:                Linux

Hello,

I am the french translator of KOrganizer and notice a little bug : the wikipedia « This day in history » does not seem to work in an other language that english.
URL can be localized (month or year placeholder), but arguments are always given in english (November for example instead of novembre if french).

Is it possible to make arguments « translatable » ?

Thanks
Comment 1 Thomas McGuire 2007-12-02 17:34:07 UTC
Loïc, I added you to the CC list because you wrote this plugin AFAIK.
Comment 2 Loïc Corbasson 2007-12-04 23:17:50 UTC
-Thanks for reporting, Sebastien, and thanks for putting me CC, Thomas.-

The Wikipedia “This day in history” is translatable in most languages.
E.g. on December 4th you should have http://fr.wikipedia.org/wiki/4_décembre in French instead of http://en.wikipedia.org/wiki/December_4.
You may find these URLs on the pages corresponding to such dates of any Wikipedia, as they are linked by interwiki/interlanguage links (in the left navigation menu). So you'll get http://de.wikipedia.org/wiki/4._Dezember in German, http://nl.wikipedia.org/wiki/4_december in Dutch, http://pt.wikipedia.org/wiki/4_de_Dezembro in Portuguese, http://br.wikipedia.org/wiki/4_Kerzu in Breton, et cetera.

That means that English will have:
- Localized Wikipedia website: "http://en.wikipedia.org/wiki/"
- Qt date format used by the localized Wikipedia: "MMMM_d" (-> "December 4")

French will have:
- Localized Wikipedia website: "http://fr.wikipedia.org/wiki/"
- Qt date format used by the localized Wikipedia: "d_MMMM" (-> "4 décembre")

etc...

I hope this clarifies any issues you encountered. As I do not seem to have the rights to close this bug, please do close this bug if this fixes the issue(s) for you; else do not hesitate to request further help. Thanks in advance,

Regards,

Loïc
Comment 3 Sebastien Renard 2007-12-05 13:20:03 UTC
Hello, thank you for your response,

I did translate those two message as you said. But the point is the word "december" is not translated into "Décembre". So when I click on the link Konqueror open the following page : 
http://fr.wikipedia.org/wiki/4_December

Which is wrong. I did not find the month name in korganizer file for translation. Maybe this is related to another .po file that is not already translated en French ? But I doubt, since month name are correctly translated in other part of KOrganizer (date navigator for instance).

Thanks for your help
Comment 4 Allen Winter 2007-12-26 19:47:12 UTC
Sebastien,

Are you saying that the translation for December should be "décembre" and not "Décembre" ??

because that's not something we can change at the KOrganizer level.

I guess I'm not sure how we can go about solving this.
Comment 5 Sebastien Renard 2007-12-27 11:48:06 UTC
Hello Allen,

No, it should be 4_décembre
http://fr.wikipedia.org/wiki/4_décembre

The word December is not translated into décembre.

thx
Comment 6 Loïc Corbasson 2009-07-20 23:31:14 UTC
Hi Sebastien, hi Allen,

Sorry for the -- very long -- delay.

I tested with KDE 4.2 in German, and it works; I then tested with svn trunk, LC_ALL, LANG and KDELANG all set to "fr" and the month name got translated correctly by the Qt date format to "juillet". Is this now fixed for you?

Thanks in advance,

Loïc
Comment 7 Allen Winter 2009-07-26 15:16:39 UTC
ok, closing then.

Sebastien, feel free to reopen this bug if necessary.
Comment 8 Sebastien Renard 2009-07-26 22:03:12 UTC
Hello,

If I set LANG to fr_FR it is correct. But I often have LANG set to C to have my console in english. But KDE locale is set in French in SystemSettings.
 
I think KOrganizer, as a KDE application, should follow KDE locale settings, not system locale.
Comment 9 Denis Kurz 2016-09-24 18:46:54 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of korganizer (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 10 Denis Kurz 2017-01-07 21:52:36 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.