10 replies [Last post]
brucelu
brucelu's picture
Offline
Regular
Vancouver
Last seen: 17 years 12 weeks ago
Vancouver
Timezone: GMT-8
Joined: 2003-07-04
Posts: 12
Points: 0

http://www.wushukungfumasters.org

There's still lots of work to be done content wise, if anybody can recommend a good PHP/mysql setup / scripts that I can use, please let me know, i've never really dug into it *yet* Wink

But the site boasts 3 languages and having a back-end that supports the unicode standard would really be a sweet goal to aim for.

So far the site has passed xhtml 1.1 transitional, css and WAI validation, any comments regarding anything is greatly appreciated.

vavroom
Offline
Enthusiast
Aotearoa / New Zealand
Last seen: 13 years 44 weeks ago
Aotearoa / New Zealand
Joined: 2003-07-19
Posts: 75
Points: 0

site for review; kung-fu / wushu site

Hello Bruce,

Site looks good on Opera 7.10 run from Win2K Pro.

In the French version, I'm not sure it was intentional or not, but in the line "Vous etes invitées", invitée is actually the feminine variation of the word, whereas "proper" French defaults to masculine. Hence, it should be "invités". That said, more and more people have taken to mix masculine/feminine forms throughout text. Just food for thoughts.

FWIW, I practiced Taoist Tai-Chi for nearly ten years, which is a variation of Yang style, that Sifu Moy Lin Chin brought to Canada a couple decades ago.

On language switching. I've explored that and have reached a decent solution through the use of a MySQL DB and a variable passed through the URL. I opted to go against the use of cookies in that case. You can see it in action at: http://photoalbum.bmee.net (never mind the styling, just crude stuff thrown together).

While I'm far from an expert on PHP, feel free to drop me a private note if you want help in developing your own stuff. I looked at a lot of scripts and stuff, but never found anything that really fit what I wanted, so I ended creating my own.

Cheers

Nic
"A community that excludes even one of its members is no community at all" - Dan Wilkins

paCkeTroUTer
paCkeTroUTer's picture
Offline
Enthusiast
Melbourne, Australia
Last seen: 7 years 20 weeks ago
Melbourne, Australia
Timezone: GMT+10
Joined: 2003-06-27
Posts: 241
Points: 2

site for review; kung-fu / wushu site

quick question, How do you do a site in more than one languages. I just want to learn the basics. Can you give some directions to some rersources or links ?

BTW the site looks good on Opera 7.11 and Mozilla 1.3(all Linux). On Konqueror 3.1 it doesn't render properly.... the header is shifted down and the left navigation is almost to the center of the page.

http//melbourne.ug.php.net

vavroom
Offline
Enthusiast
Aotearoa / New Zealand
Last seen: 13 years 44 weeks ago
Aotearoa / New Zealand
Joined: 2003-07-19
Posts: 75
Points: 0

site for review; kung-fu / wushu site

Can't say for Lu, but here's what I did.

First, I decided on content. Then I build my MySQL DB, where each table included fields for both languages (in my case French and English). Then you populate the DB accordingly with both languages.

I then opted to let the user select the language via a link that places a variable in the URI instead of using cookies.

So when the user selects a different language, a variable is placed, and I use a simple PHP if statement. then my query retrieves the appropriate record in the appropriate language and the whole thing is displayed on the page.

Was that helpful? I can give more info if you want Smile

It helps to be able to speak the languages you want to use Smile

Nic
"A community that excludes even one of its members is no community at all" - Dan Wilkins

paCkeTroUTer
paCkeTroUTer's picture
Offline
Enthusiast
Melbourne, Australia
Last seen: 7 years 20 weeks ago
Melbourne, Australia
Timezone: GMT+10
Joined: 2003-06-27
Posts: 241
Points: 2

site for review; kung-fu / wushu site

I understand your logic. But I find brucelu's pages all html pages... that means it is not database driven. Or is he using mod_rewrite(apache function) to make it look like html pages ?

http//melbourne.ug.php.net

vavroom
Offline
Enthusiast
Aotearoa / New Zealand
Last seen: 13 years 44 weeks ago
Aotearoa / New Zealand
Joined: 2003-07-19
Posts: 75
Points: 0

site for review; kung-fu / wushu site

can't speak for Lu, but it does appear to be all straight HTML... Not bad if you have a few pages to maintain, but in the long run, ouch Smile

Nic
"A community that excludes even one of its members is no community at all" - Dan Wilkins

Anonymous
Anonymous's picture
Guru

site for review; kung-fu / wushu site

Hi Packetrouter, thanks for the comments - is there a konquerer browser for windows? I've never been able to find one - it's odd that it should look so different, since I stuck to CSS1 and validated all my code. Which mean most likely there's something I need to do specifically for Konquerer!

You're right the pages are all HTML right now, that's why i was asking about multi-lingual support in PHP/mySQL, so i could switch over to a database-driven site before it gets too big!

Also I'm rather new to PHP, but have played with perl scripts before, so resources to that effect are always helpful

Thank you,

paCkeTroUTer
paCkeTroUTer's picture
Offline
Enthusiast
Melbourne, Australia
Last seen: 7 years 20 weeks ago
Melbourne, Australia
Timezone: GMT+10
Joined: 2003-06-27
Posts: 241
Points: 2

site for review; kung-fu / wushu site

Anonymous wrote:
Hi Packetrouter, thanks for the comments - is there a konquerer browser for windows? I've never been able to find one - it's odd that it should look so different, since I stuck to CSS1 and validated all my code. Which mean most likely there's something I need to do specifically for Konquerer!

No, There is no Konqueror browser for Windows. Konqueror is the equivalent of what IE is for Windows. Its not a big deal.... its probably something to do with Konqueror than your HTML/CSS code which renders well on the latest of Opera and Mozilla

http//melbourne.ug.php.net

brucelu
brucelu's picture
Offline
Regular
Vancouver
Last seen: 17 years 12 weeks ago
Vancouver
Timezone: GMT-8
Joined: 2003-07-04
Posts: 12
Points: 0

site for review; kung-fu / wushu site

Cool Wink I have a blanket question concerning test-beds...using web standards often makes me (and us), want to ignore alot the older browsers that are css2 spotty at best.

How far back in versions should I be testing, in order to capture maximum audience. My objective is that non-compliant browsers will get content without layout which is fine.

I'm thinking for windows:
IE 5.5, IE6, Mozilla 1.3+, Firebird 0.6+ , Opera 7.03+ (should i include v6?)
NN7 (should i include V6.2?)

Mac - IE5, Safari 1.0

Linux -
I don't have much experience with Linux browsers, maybe you can tell me about them, and which ones follow current standards -

Finally, everything else should render content only.

Thanks!

paCkeTroUTer
paCkeTroUTer's picture
Offline
Enthusiast
Melbourne, Australia
Last seen: 7 years 20 weeks ago
Melbourne, Australia
Timezone: GMT+10
Joined: 2003-06-27
Posts: 241
Points: 2

site for review; kung-fu / wushu site

My thumb rule is always check for browsers which are the latest version and one version below it. So if IE 6 is the latest version then I would check for IE 5.5 and if the site is going to be widely used, I wouldn't mind doing a check for IE 5 as well.

On a Linux platform, I am aware of the following browsers. Konqueror, Galeon, Mozilla and Opera. I tend to check for Mozilla and Opera and sometimes Konqueror. Galeon has a Mozilla engine so I don't bother.

http//melbourne.ug.php.net

brucelu
brucelu's picture
Offline
Regular
Vancouver
Last seen: 17 years 12 weeks ago
Vancouver
Timezone: GMT-8
Joined: 2003-07-04
Posts: 12
Points: 0

site for review; kung-fu / wushu site

Thanks Packet... - i've setup a testing machine using 1 version lower browsers (opera 6, NS 6.2, IE.5.5) and will setup a linux box as well.