Author Topic: Multi-language and dutch translation.  (Read 16971 times)

0 Members and 1 Guest are viewing this topic.

Offline trash

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • http://xander.mine.nu
Multi-language and dutch translation.
« on: July 24, 2002, 01:12:45 AM »
Hi,

I am just new to 4Images and loving it already.
As I am dutch, I made a dutch translation. It is almost finished. Take a look at: http://xander.mine.nu to view it.

I was wondering if anyone has translated the search_stopterms.txt to dutch. I am not sure what it does, so I haven't translated it yet.

I also created my own template, which I am still developing. I added a multi-language option in the template, so a visitor can choose between 2 languages, deutsch, english or nederlands. If anyone can provide me with more translation please do, so I can add them.

Well, that was it for now :)

later...
:: Artificial Intelligence is no match for Natural Stupidity ::

Offline pietg

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
    • http://www.totaaldigitaal.nl
Multi-language and dutch translation.
« Reply #1 on: July 26, 2002, 09:27:33 AM »
Hi trash,

looking good. Is it possible to get a copy of the dutch files?
Would save me a lot of work?

How did you setup the multi-language?

Kind regards,

Piet

Offline trash

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • http://xander.mine.nu
Multi-language and dutch translation.
« Reply #2 on: July 26, 2002, 12:50:28 PM »
I will make the translation files downloadable from the gallery. I created a template file which I include in the header.html template file. It is not yet finished, because I hardcoded the three languages in. I will create a dynamic script which identifies all the language package installed in the lang directory.

I'll post a reply here when I have made the language package downloadable.

PS. I would like to recieve more language packages. So if anyone has more, please send them to me.
:: Artificial Intelligence is no match for Natural Stupidity ::

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Multi-language and dutch translation.
« Reply #3 on: July 26, 2002, 02:11:53 PM »
Quote from: trash
I will create a dynamic script which identifies all the language package installed in the lang directory.

Check install.php from line 61 on. This is already coded there..

Greets Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline trash

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • http://xander.mine.nu
Multi-language and dutch translation.
« Reply #4 on: July 26, 2002, 05:24:42 PM »
I have made the dutch language package ready for download at the 4Images category at http://xander.mine.nu. I will create an include script for making the site more or less multi-langual using the code from the install.php

thnx for noticing Jan...you write some clean nice code...

Trash
:: Artificial Intelligence is no match for Natural Stupidity ::

Offline trash

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • http://xander.mine.nu
Multi-language and dutch translation.
« Reply #5 on: July 26, 2002, 06:09:18 PM »
I have also put the multi-language template files in the 4Images categorie.

Good luck.
:: Artificial Intelligence is no match for Natural Stupidity ::

Offline pietg

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
    • http://www.totaaldigitaal.nl
Multi-language and dutch translation.
« Reply #6 on: July 26, 2002, 10:30:26 PM »
:D  WORKS GREAT.

Vele malen dank,

Piet

Offline uae

  • Newbie
  • *
  • Posts: 13
    • View Profile
Arabic Language Version
« Reply #7 on: July 30, 2002, 07:23:17 AM »
Here is an Arbic version of the 4images.

http://www.myuae.com/myalbum/

There is a trick about the Arabic Version, the pages direction should load from right to left.
So, I'm using the dir="rtl" in the body tag of the header.html file.

 :) awesome product.

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Re: Arabic Language Version
« Reply #8 on: July 30, 2002, 08:01:10 AM »
Quote from: uae
http://www.myuae.com/myalbum/

Please insert back the original copyright notice at the bottom of your pages, thanks.

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline uae

  • Newbie
  • *
  • Posts: 13
    • View Profile
Multi-language and dutch translation.
« Reply #9 on: July 30, 2002, 08:08:49 AM »
opps Jan, but there is a link in the footer, is that ok, or I need to place it at the buttom of the page?

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Multi-language and dutch translation.
« Reply #10 on: July 30, 2002, 08:20:39 AM »
Please use this code:
Code: [Select]
Powered by <b>4images</b> {script_version}
<br />
Copyright &copy; 2002 <a href="http://www.4homepages.de" target="_blank">4homepages.de</a>


Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline uae

  • Newbie
  • *
  • Posts: 13
    • View Profile
Multi-language and dutch translation.
« Reply #11 on: July 30, 2002, 08:38:56 AM »
Done.

Offline piximo

  • Pre-Newbie
  • Posts: 9
    • View Profile
ML-function?
« Reply #12 on: August 05, 2002, 10:49:32 AM »
hi trash,
 your ML-function works fine. now i´ve a question about diff. images. (lightbox etc.)

i´ve write at
http://www.4homepages.de/forum/viewtopic.php?t=1268

an idea to provid an image change when the user change the language.



i don´t realy know php, however in phpnuke is it possible.


Code: [Select]
$lang['img_lightbox_off'] = "/images/lightbox_off_de.gif\";




    $lightbox_button = "<img src=\"".TEMPLATE_PATH."/images/lightbox_off.gif\" border=\"0\" alt=\"\" />";

    $lightbox_button = "<img src=\"".TEMPLATE_PATH.".$lang['img_lightbox_off']." border=\"0\" alt=\"\" />";


the omagefile must be extanded
like lightbox_off_nl.gif... for dutch
and lightbox_off_us.gif for the english file etc.
can you try , would be it work?

the first line is for the language-file
die 2-nd und 3-rd line is the before-after-example

piximo