PEAK XOOPS - Dutch translation and a question in englishin japanese

Dutch translation and a question

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 | Posted on 2003/11/6 8:40
Chimpel  企霹始   Posts: 5
Hi,

Just to say that piCal is a great module.
I have made a dutch (nederlands) translation.
If you want it, just say so, and I'll mail it to you.

A question though,

If I use the "coming events" block the date of events is displayed as month/day (today would be 11/6).
That is not how we display it over here, we display it as 6/11 ... being day/month.

How can i change this
Votes:1 Average:10.00
Previous post - Next post | Parent - Children.1 | Posted on 2003/11/6 11:41
GIJOE  黎扦烦菱   Posts: 4110
Thank you for your translation.

At first, I have to say "use piCal >= 0.502".
I have improved aroud locales.

New constants added.

define('_PICAL_LOCALE','en_US') ;
define('_PICAL_STRFFMT_DATE','%x') ;
define('_PICAL_FMT_MD','%2$s %1$s') ;

"events on the day" or "events after the day" uses _PICAL_FMT_MD.

'%2$s %1$s' means "day month"
'%1$s %2$s' means "month day"

Perhaps the LOCALE of dutch is 'dutch'.

If you finish translating, send it to me please.

Votes:0 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2003/11/9 21:55
Chimpel  企霹始   Posts: 5
The first problem still remains in blocks "coming events" / "events after"

http://www.peak.ne.jp/xoops/uploads/img3fae36322be3b.jpg

I have updated my pical version.
I have added the three above mentioned lines to pical_constants.php. But nothing helps.

define('_PICAL_LOCALE','nl_NL') ;
define('_PICAL_STRFFMT_DATE','%x') ;
define('_PICAL_FMT_MD','%2$s %1$s') ;

define('_PICAL_DTFMT_TIME','a g:i') ;
define('_PICAL_DTFMT_DATE','j M Y (D)') ;
define('_PICAL_DTFMT_MD','j M') ;

define('_PICAL_FMT_YMD','%3$s %2$s %1$s') ;
define('_PICAL_FMT_YMW','%3$s %2$s %1$s') ;
define('_PICAL_FMT_YEAR_MONTH','%2$s %1$s') ;

Second problem is in the "Scheduler"/"Detail view"

http://www.peak.ne.jp/xoops/uploads/img3fae37b209a7c.jpg

As you can see, the name of the day (Wed) is in English, although pical_vars.phtml looks like this:
// Can't use tags (for options & minicalendar)
$this->week_short_names = array('Zo','Ma','Di','Wo','Do','Vr','Za','Zo') ;

// Can use tags (for Monthly & Weekly View)
$this->week_middle_names = array('Zo','Ma','Di','Wo','Do','Vr','Za','Zo') ;

I hope you have a solution for these problems. If you do I can send you the translation.
Votes:0 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2003/11/9 22:35
GIJOE  黎扦烦菱   Posts: 4110
hi Chimpel.
Quote:
The first problem still remains in blocks "coming events" / "events after"
Thank you for your finding this bug.
This code will be fixed in 0.506.
The langauage files need not to be changee or added.

Quote:
Second problem is in the "Scheduler"/"Detail view"
This is the issue of Locale.

Probably, "%x" means "date month year (English Dayname)" in "nl_NL".

see:
http://jp.php.net/strftime
and change _PICAL_STRFFMT_DATE into your favour style.
Votes:0 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2003/11/9 22:45
Chimpel  企霹始   Posts: 5
Quote:
Probably, "%x" means "date month year (English Dayname)" in "nl_NL".

When I change "%x" in, for example, "%D", nothing changes in the "Detail view". So I don't think this is the problem.

Votes:0 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2003/11/9 23:07
GIJOE  黎扦烦菱   Posts: 4110
If so, probably your piCal.php is old.
Votes:1 Average:0.00
Previous post - Next post | Parent - No child | Posted on 2003/11/10 7:40
Chimpel  企霹始   Posts: 5
Yep,

You're right. Something must 've gone wrong in the udpate. It's working now, except the bug in the blocks of course, but as you said, this will be solved in version 0.506. I'm looking forward to it.

The dutch language file has been sent to you.

Votes:1 Average:10.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!