1
Watdehek
Issue with ExtCal 2.0
  • 2005/9/14 12:31

  • Watdehek

  • Friend of XOOPS

  • Posts: 130

  • Since: 2005/2/21


When I use English for my site the day names appear in the calendar, but when I use Dutch language for my site they do not appear.

Here's a piece of the pagesource when English is activated:

<tr style="text-align:center;" class="head">
                <
td>Mondaytd>
                <
td>Tuesdaytd>
                <
td>Wednesdaytd>

                <
td>Thursdaytd>
                <
td>Fridaytd>
                <
td>Saturdaytd>
                <
td>Sundaytd>
            tr>
        <
tr>
        <
th style="vertical-align:middle;">35th>


And here's the code when selcting the Dutch language:

<tr style="text-align:center;" class="head">
            tr>
        <
tr>
        <
th style="vertical-align:middle;">35th>


The Dutch translation isn't the problem, because when I copy all original English language file in the /language/nederlands folder the problem is still there.

Anyone got an idea?

2
netsroht
Re: Issue with ExtCal 2.0
  • 2005/9/14 12:36

  • netsroht

  • Just popping in

  • Posts: 24

  • Since: 2002/2/11


what happens if the language-folder is empty? Are the tags being displayed?
Greets, netsroht

Sorry for my bad english. I'm german.

3
Watdehek
Re: Issue with ExtCal 2.0
  • 2005/9/14 12:45

  • Watdehek

  • Friend of XOOPS

  • Posts: 130

  • Since: 2005/2/21


Same result...nog day names showing when selecting Dutch....

4
Watdehek
Re: Issue with ExtCal 2.0
  • 2005/9/15 21:18

  • Watdehek

  • Friend of XOOPS

  • Posts: 130

  • Since: 2005/2/21


I forget to mention I also use XLanguage, and I found out the problem is related to that module.

Anyone?

5
zoullou
Re: Issue with ExtCal 2.0
  • 2005/9/15 21:37

  • zoullou

  • Quite a regular

  • Posts: 250

  • Since: 2004/3/2 0


Hi,

Have you a PHP error or warning in PHP debug mode ?

Cheers

6
Watdehek
Re: Issue with ExtCal 2.0
  • 2005/9/16 7:43

  • Watdehek

  • Friend of XOOPS

  • Posts: 130

  • Since: 2005/2/21


No PHP errors in debug modus.

When I look at the Smarty debug I can see the array with the days of the week stays empty.

When I select English the array is filled.

7
Watdehek
Re: Issue with ExtCal 2.0
  • 2005/9/19 19:47

  • Watdehek

  • Friend of XOOPS

  • Posts: 130

  • Since: 2005/2/21


I'm really stuck here....anyone can help me fix this problem?

8
Watdehek
FIXED: Issue with ExtCal 2.0
  • 2005/9/21 11:14

  • Watdehek

  • Friend of XOOPS

  • Posts: 130

  • Since: 2005/2/21


Thanks to Highlander the problem is fixed.

ExtCal sends the value of variable $lang to the template in calendar.php. This apparently gives problems when using Dutch language.

When we change the variable to e.g. $lan everything works fine.

Login

Who's Online

188 user(s) are online (136 user(s) are browsing Support Forums)


Members: 0


Guests: 188


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits