Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » Date localisations

#16 2004-05-14 16:18:43

spyke
Member
From: Denmark
Registered: 2004-04-21
Posts: 14
Website

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

#17 2004-05-14 16:21:49

spyke
Member
From: Denmark
Registered: 2004-04-21
Posts: 14
Website

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

#18 2004-05-26 11:56:57

december76
Member
From: Malmö, Sweden
Registered: 2004-05-18
Posts: 45
Website

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

#20 2004-06-19 07:43:48

ReinierBiz
Archived Plugin Author
From: the Netherlands, Rotterdam
Registered: 2004-04-07
Posts: 42
Website

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

#21 2004-06-25 21:27:19

ReinierBiz
Archived Plugin Author
From: the Netherlands, Rotterdam
Registered: 2004-04-07
Posts: 42
Website

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

#22 2004-06-27 11:24:47

ReinierBiz
Archived Plugin Author
From: the Netherlands, Rotterdam
Registered: 2004-04-07
Posts: 42
Website

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

#23 2004-06-28 13:11:53

Belisarius
Member
From: Grenoble, France
Registered: 2004-06-27
Posts: 37
Website

Re: Date localisations

hi,

how can we use the new dates format ?


Standardisator – CSSXHTMLPHP – JS – TXP

Offline

#24 2004-06-28 20:05:46

Denbo
Member
From: Russia
Registered: 2004-06-27
Posts: 12
Website

Re: Date localisations

Russian version sent in.

Offline

#25 2004-06-29 04:12:02

Damelon
Member
From: Lyon, France
Registered: 2004-05-11
Posts: 47
Website

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

#26 2004-08-13 06:22:04

andreas
Member
Registered: 2004-02-28
Posts: 453
Website

Re: Date localisations

To bring this back up: has there been any development in the date localisation since v1.17?

Offline

#27 2004-10-03 16:27:39

Belisarius
Member
From: Grenoble, France
Registered: 2004-06-27
Posts: 37
Website

Re: Date localisations

It looks like it’s not working anymore in the new version

Any ideas why ?


Standardisator – CSSXHTMLPHP – JS – TXP

Offline

#28 2004-11-01 14:10:59

JW
New Member
From: Netherlands
Registered: 2004-06-04
Posts: 2
Website

Re: Date localisations

Dutch dates are mailed to dean at textism.com.

Offline

  1. Index
  2. » Archives
  3. » Date localisations

Board footer

Powered by FluxBB