Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Date localisations
Polish translation sent in.
No, I’m not Polish, just a linguist who lived there a long time – but hey, these are just dates, no? ;)
Last edited by spyke (2004-05-14 16:22:45)
Offline
Re: Date localisations
> mamash wrote:
> Dean, I will do the Czech dates naturally, but need to know: will the month names be used only for article date creation (e.g. “September 1, 2004”), or will they also appear independently in, uhm, popup boxes, filters etc.? In Czech the syntax differs if used in a date or as a single word.
> And what about the ‘ago/since’ date format? Back in TXP beta times, I’ve modified the mechanism that creates this date format to suit the proper syntax in Czech. Just as English has “one minute” and “two minutes”, Czech is more complicated, since we have a different form of ‘minute’ (and any other unit) for 1, 2-4 and 5-0 numbers (and it’s even more complicated, since this pattern repeats for all number according to the ending digit).
> (I suggest I leave this piece of code for a Czech-only plugin/hack.)
How about a Czech-and-polish plugin/hack? ;o)
Offline
Re: Date localisations
Dean once wrote “In g1.17 you
Offline
#19 2004-06-09 19:51:33
- jeffkono
- New Member

- Registered: 2004-05-26
- Posts: 7
Re: Date localisations
Brazilian Portuguese version sent in. I’m not sure how much it differs from the Portugal-Portuguese version, so I sent it anyway. :P
And I guess we’ll have to have some way of translating the “XX days ago” bit on the posts’ dates.
Offline
Re: Date localisations
Is there a version number yet Dean, when the date localisations will be ready?
VC88 | Nah, there weren’t really eighty-eight of them. They just called themselves “The Crazy 88.”
Offline
Re: Date localisations
Is there a way to test this yet?
VC88 | Nah, there weren’t really eighty-eight of them. They just called themselves “The Crazy 88.”
Offline
Re: Date localisations
I can’t believe that there isn’t ANY information yet on this feature…
VC88 | Nah, there weren’t really eighty-eight of them. They just called themselves “The Crazy 88.”
Offline
Re: Date localisations
hi,
how can we use the new dates format ?
Standardisator – CSS – XHTML – PHP – JS – TXP
Offline
Re: Date localisations
Russian version sent in.
Offline
Re: Date localisations
Currently it is possible to (at least) partially use date localization in TXP. If in your textpattern > lang directory you have a translated language dates file you can then get localized date output in the txp:posted tag.
In my lang directory I have a file named fr_dates.txt, it is a translated copy of the template Dean provides above. [Remember to encode any accented characters otherwise any accented characters will be rendered gibberish.]
Then in your txp:posted tags add the language attribute. In my case lang=“fr”.
The actual tag I’m using looks like this :
<txp:posted lang="fr" format="d M Y à G:i" />
which produces output that look like :
26 fév 2004 à 14:46
To the best of my knowledge, this method doesn’t work yet for the txp:comment_time tag.
Last edited by Damelon (2004-07-10 11:18:22)
Offline
Re: Date localisations
To bring this back up: has there been any development in the date localisation since v1.17?
Offline
Re: Date localisations
It looks like it’s not working anymore in the new version
Any ideas why ?
Standardisator – CSS – XHTML – PHP – JS – TXP
Offline
Re: Date localisations
Dutch dates are mailed to dean at textism.com.
Offline