Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Regular Coder
    Join Date
    Jul 2002
    Location
    This little Earth.
    Posts
    383
    Thanks
    0
    Thanked 0 Times in 0 Posts

    developing site for different languages

    I really hope someone can help me with this.
    I really don't know much (read: I hardly know an atom) about development with language-support.
    I'm trying to develop a site with 2 very different languages but I'm stumped as to how to go about it. This is not one of those "Choose your language" sites, rather it's got to have different languages on the same page- Arabic and English. To simplify the site's function let's just say it's going to be like an Arabic-to-English dictionary. So there will have to be tables that display English in one column and Arabic in the other.
    I'm ramming my head against these main problems:

    1. How can I code Arabic text (text, not graphical typing as I've noticed so many places) in HTML in the first place? I've searched like anything but there's hardly a clear solution. After lots of research (meddling with all sorts of confusing stuff about unicode and fonts and ascii stuff) what I think is the most practical solution is to force users to download a certain arabic font before being able to view the site. Would this really be the best approach?

    2. How can I keep the page displaying both languages correctly? (English is a left-to-right language but Arabic is right-to-left).

    3. I'm using a mysql db with php for the data (eg. Arabic word, and corresponding English meanings). How can you store different languages in mysql? Will the characters go as binary or something?

    These problems aren't giving way, but my empty head is.
    Last edited by ASAAKI; 02-27-2003 at 03:14 AM.
    'If you don't stand for something, you'll fall for anything.'

  • #2
    Regular Coder
    Join Date
    Jan 2003
    Posts
    680
    Thanks
    0
    Thanked 0 Times in 0 Posts
    (o<
    //\ &nbsp; &nbsp; &nbsp; =^..^=
    &nbsp; &nbsp; $!

  • #3
    Regular Coder
    Join Date
    Jul 2002
    Location
    This little Earth.
    Posts
    383
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thanks meow i'm checking out the links they look extremely helpful.
    any suggestions about languages in the db?
    'If you don't stand for something, you'll fall for anything.'

  • #4
    Regular Coder
    Join Date
    Jan 2003
    Posts
    680
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Not form me. I'm scared of data bases.

    Just thought I would post this URL. This sites does what you want to do I think.
    http://www.issho.org/
    (o<
    //\ &nbsp; &nbsp; &nbsp; =^..^=
    &nbsp; &nbsp; $!

  • #5
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    Regarding the mysql database, I recommend you look in the mysql manual. Perhaps there is something about multiple languages. I'd assume people use it for more than just english text.
    OracleGuy


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •