Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
http://www.tinywebgallery.com/forum/

Translation problems
http://www.tinywebgallery.com/forum/web-photo-gallery-support-f1/translation-problems-t206.html
Page 1 of 2

Author:  JohnK [ 11. Mar 2006, 06:51 ]
Post subject:  Translation problems

Hi,
TinyWebGallery rocks! ;)

I just tried to translate "language_xx.php" to Greek language,but the characters aren't shown properly.Instead of Greek language I get something like this "?p????te ??p??a f?t?????." (which makes no sense).
I was wondering if there are some extra options I have to set for the Greek language.

thanks

Author:  TinyWebGallery [ 11. Mar 2006, 10:27 ]
Post subject: 

Hi,

I have answered by mail too.
right now the charset that is default does not have your characters I think.

I'll add an option for that in the next version of TWG.

/Michael

Author:  Guest [ 7. May 2006, 00:03 ]
Post subject: 

i'm using TWG v 1.4 but have same problem, is any solution to solve this?, in image.php i found:

Code:
 if (isset($charset)) {
       header("Content-Type: text/html;charset=' . $charset . '");


but I don't know what to do with this?

Author:  TinyWebGallery [ 7. May 2006, 11:26 ]
Post subject: 

which language are you trying to use?

Greek should work fine.
you have to specify the charset in the language file - if you want to transkate too greek - there is already a translation.

In quick:
Use $chaset="UTF-8"; and save you language file in UTF-8 !
I the next version of the howtos It is explained there too.

/Michael

Author:  Guest [ 7. May 2006, 12:52 ]
Post subject: 

I want translate to polish language. Please look at:
#removed_broken_link

I want have ISO-8859-2, I wrote $charset=ISO-8859-2 to my_config.php

On the main page everything is ok, polish letters are ok but on the top of page (navigation belt?) in informations about pictures too i got bushes :/. Changing codepage in internet browser to UTF-8 solving problem but, there where was ISO-8859-2 i got then bushes :/.

What should I do now?.

Regards.

Author:  TinyWebGallery [ 7. May 2006, 18:37 ]
Post subject: 

Hi,

You have to write:

$charset="ISO-8859-2";

not
$charset=ISO-8859-2

Author:  Guest [ 8. May 2006, 00:21 ]
Post subject: 

no change...

Author:  TinyWebGallery [ 8. May 2006, 08:10 ]
Post subject: 

you can sent me the language file if you like.

/Michael

Author:  Tubaplayer.com [ 18. May 2006, 18:38 ]
Post subject: 

Hi again, Michael.

I'm also trying to get Norwegian to work properly. We've got the specialchar's æ, ø and å (capitals: Æ, Ø and Å), and it's almost impossible not to use them.

It seems that it all works fine in IE and Opera, but Firefox can't get it right.. Check out this link: #removed_broken_link

Should read "Frøyvær poserer..."
IE and Opera displays it right, but not Fireforx. Any suggestions?
I've got charset right in the parent file (#removed_broken_link) and the album index.php. And of course in the browsers.

I entered the picture description by web interface (caption iFrame). Where is it stored..? Can't find any image.txt anywhere (browsed through entire TWG file structure on server).

Another thing, since this seems to be a Firefox-related problem:
IE and Opera shows Norwegian as default language (as set by me), but Firefox defaults to English.

Paal

Author:  TinyWebGallery [ 18. May 2006, 20:52 ]
Post subject: 

Hi,

Interesting :). I opend your page in FF - works fine for me - IE is fine too.

1.
Which charset are you using? If it's not ISO-8859-15 (or -1) you have to add this to the language file! But I only recommend this for e.g. greek or chinese because actually you should run the whole app in one encoding. Right now e.g. greek is running with utf-8 and e.g. german in ISO-8859-15 - If someone is using e.g. greek ha has to convert the other language he is using to the same charset if he want to make everything perfect!

2.
I have reworked the encoding in my local version a little bit because of a security issue! I'll do some tests tonight and upload his version tomorrow (still 1.4.2 !!! - Therefore wait until Friday afternoon before you redownload.)

3. captions are stored in the xml files ... in the xml folder ;).


/Michael

Author:  Tubaplayer.com [ 18. May 2006, 21:18 ]
Post subject: 

TinyWebGallery wrote:
1. Which charset are you using?

I'm using utf-8 for all my files. And I have changed it in my language_no.php. Do I need to change any other files than language_no.php? :shock:

TinyWebGallery wrote:
2. I have reworked the encoding in my local version a little bit because of a security issue! I'll do some tests tonight and upload his version tomorrow (still 1.4.2 !!! - Therefore wait until Friday afternoon before you redownload.)

Do I need to redownload..? ;)

TinyWebGallery wrote:
3. captions are stored in the xml files ... in the xml folder ;).

Thanks 8)

Paal

Author:  TinyWebGallery [ 18. May 2006, 22:03 ]
Post subject: 

utf-8 ?
have you set the charset in the language file?

because my norway language file does not use uf-8 ;).

reload tomorrow - I'll test tonight ;).

/Michael

Author:  Tubaplayer.com [ 18. May 2006, 22:11 ]
Post subject: 

Well... I made my own language_no.php, I wanted to use some different words and sentences (the other one was a bit like translations made by computers, with direct translation instead of logical translation).

And yes, it's utf-8.
$chaset="UTF-8";
and saved as UTF-8.

PS: No offence, Thomas.. :wink:

Paal

Author:  TinyWebGallery [ 19. May 2006, 08:15 ]
Post subject: 

I didn't do this translation ;) -so no worries.

do you really need utf-8?
anyway ... I'm not finished yet with testing because I want to add cross scripting protection to the input fields.

I'll make a post here when I'm finished

/Michael

Author:  TinyWebGallery [ 19. May 2006, 09:16 ]
Post subject: 

I have uploaded it still as 1.4.2.

1.4.2 had a wrong licence file - twg.lic.php - just delete it!

Page 1 of 2 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/