• Welcome to Simple Machines Community Forum. Please login or sign up.
September 20, 2021, 01:02:55 AM

News:

SMF 2.1 RC4 has been released! Try it out and help us test! :) Read more.


Language problem with Greek month translations

Started by spiros, December 30, 2004, 12:00:32 PM

Previous topic - Next topic

spiros

In Greek months are translated differently according to the case they should be in. So:

Last post on 18 December, 2004, 03:53:35

and "December" as a calendar heading have two different translations. (Δεκεμβρίου the former and Δεκέμβριος the latter). As far as I can see no provisions have been made for this. I recommend the creation of different language strings for these cases.

[Unknown]

Where are these "headings" used?  Is it also a problem with weekdays?

-[Unknown]

spiros

December 30, 2004, 03:00:38 PM #2 Last Edit: December 30, 2004, 03:30:03 PM by spiros
They are used in the calendar. For example http://www.translatum.gr/forum/index.php?action=calendar
"December 2004".

No, it is not a problem with weekdays as far as I can see
What worries me even more is that in the final version the bug in board.index.template has not been solved. Please check out this thread
http://www.simplemachines.org/community/index.php?topic=20357.0

Another point is that for the Greek dates to be displayed correctly, they should be in the format "09 December, 2004"  and not "December 09, 2004" ( I know that this can be changed through admin but the point is to have the right date format out of the box for each language and this change would ALSO affect how English dates are displayed).

Quote from: [Unknown] on December 30, 2004, 02:38:02 PM
Where are these "headings" used?  Is it also a problem with weekdays?

-[Unknown]

[Unknown]

Quote from: spiros on December 30, 2004, 03:00:38 PM
They are used in the calendar. For example http://www.translatum.gr/forum/index.php?action=calendar
"December 2004".

Sorry, I meant "where else".  Just want to make sure it's *just* the calendar.

Quote
http://www.simplemachines.org/community/index.php?topic=20357.0

I know, but when I first read it I thought it was just topics.  By the time I realized it was all three, it was too late to make the change and not hold back 1.0 even longer for it.

QuoteAnother point is that for the Greek dates to be displayed correctly, they should be in the format "09 December, 2004"  and not "December 09, 2004" ( I know that this can be changed through admin but the point is to have the right date format out of the box for each language and this change would ALSO affect how English dates are displayed).

The default format is in Install.greek.php.  When the forum is installed, everyone will be using that.

-[Unknown]

spiros

Quote from: [Unknown] on December 30, 2004, 05:49:50 PM
Quote from: spiros on December 30, 2004, 03:00:38 PM
They are used in the calendar. For example http://www.translatum.gr/forum/index.php?action=calendar
"December 2004".

Sorry, I meant "where else".  Just want to make sure it's *just* the calendar.
Quote

Only in the calendar as far as I can see....

QuoteThe default format is in Install.greek.php.  When the forum is installed, everyone will be using that.

This would still be a problem though in bilingual fora.

For example some of my users use English whereas others Greek. The ideal approach to localizing date would be to code it in a way so that when the language changes the time format also changes. I guess this is not too hard to implement?

spiros

QuoteThe default format is in Install.greek.php.  When the forum is installed, everyone will be using that.

This would still be a problem though in bilingual fora.

For example some of my users use English whereas others Greek. The ideal approach to localizing date would be to code it in a way so that when the language changes the time format also changes. I guess this is not too hard to implement?

Any solution yet as far as setting up different language strings for calendar months?

[Unknown]

 & Added $months_titles to ease translation in Greek, etc. (index language files)
* The calendar now uses $months_titles for capitalized titles. (Calendar template)

1.1 only.

I think time format switching with language is more of a mod thing.  I mean, even if I elected to use German here, I might still want to keep my American formatted dates.

-[Unknown]

spiros

This is great! Could you possibly send the code / files affecting month changes so that we could implement them now?

As far as date format, well, this is what I am saying, it should be possible to be set differently in each language so when one switches language the date format is switched automatically to the default format of the chosen language. I do not see why this could not be implemented in the main code? It is by all means one of the most standard globalization procedures.

Quote from: [Unknown] on January 04, 2005, 01:54:54 AM
& Added $months_titles to ease translation in Greek, etc. (index language files)
* The calendar now uses $months_titles for capitalized titles. (Calendar template)

1.1 only.

spiros

Has this by any chance been implemented in 1.0.1?

Quote from: [Unknown] on January 04, 2005, 01:54:54 AM
& Added $months_titles to ease translation in Greek, etc. (index language files)
* The calendar now uses $months_titles for capitalized titles. (Calendar template)

1.1 only.

I think time format switching with language is more of a mod thing.  I mean, even if I elected to use German here, I might still want to keep my American formatted dates.

-[Unknown]

[Unknown]


Advertisement: