Page 1 of 1

Undefined problem.

Posted: 24 Dec 2008, 16:33
by Felix J
Ok, just "installed" the latest and final release here: photogallerix.com

Anyway, the main menu shows as "undefined" and also the main controlbar under each photo shows "undefined".

How can I fix this? So it instead for example shows Main Menu at the menu and so on...

Also

I noticed when clicking on "English language" under "Config" in the admin panel I get this error:

Fatal error: An error "not well-formed (invalid token)" occured while parse file /imagevue/language/english.xml at line 1, character 1 in /hsphere/local/home/xhrone/photogallerix.com/imagevue/include/ivXml.class.php on line 227


However clicking on any other languages dont give me any error.

Should it be like that or is it a bug?

Thanks for any help!

Posted: 24 Dec 2008, 17:16
by Nick
Take a look yourself:

http://photogallerix.com/imagevue/language/english.xml

What is that with the file? I would recommend amputa.. er.. I mean .. to re-upload it.

Posted: 24 Dec 2008, 17:41
by Felix J
Hi pain thanks for your reply.

I think it's something with the package that I downloaded.

As the english language file is very small compare to the other language files.

It's only at 49 byte when the others are over 1 kb large. It feels way too small, but maybe it should be that small not sure...


Aha the english file was missing the translation text. I just added it by hand. Now it looks like it should

Posted: 24 Dec 2008, 18:00
by Felix J
By the way, if you need a language file on swedish, I can make one. As I speak swedish fluently. :)

Posted: 25 Dec 2008, 00:40
by mjau-mjau
The english language file is VERY small by default because it doesn't contain any data. It inherits default english translations ...

If you want to change it though, just edit it through the admin, and your new items will be used instead of the default ones.

You are perhaps editing language XML files manually? You should be doing it through the admin, because there they are always updated with latest parameters, and you can fill in any missing texts. For example, most of the languages are not 100% updated with all the latest texts.

Feel free to update the swedish language, and send us the XML file! Thanks!

Posted: 25 Dec 2008, 12:17
by Felix J
Ok, just finnished the swedish language file which I created this time throw the admin panel.

You can see the demo here: photogallerix.com

Just some things.

I translated "Main Menu" to "Huvudmeny" instead of translating "Main Menu" to Galleri Meny, as I think it was looking better and that it's directly translated from Main Menu.

Also there isn't a swedish word that can cover "thumbnails" in this case. So I just didn't make a translation of thumbnails.

I will send the language file by email.

Posted: 26 Dec 2008, 01:46
by mjau-mjau
Felix J wrote:I will send the language file by email.
Thanks!