|
Replies:
21
-
Pages:
2
[
1
2
| Next
]
-
Last Post:
1 Nov 22, 23:27
Last Post By: JeffTucker
|
|
|
Posts:
23
Registered:
5-Jul-2007
|
|
|
|
Multi language texts
Posted:
15 Mar 20, 01:45
|
|
|
|
HI,
The "old" Chameleon skin had a nice feature allowing to generate the same album in different languages based on one single set of images.
Is there another skin offering this feature ?
Or is there some code to add to achieve this ? For the concerned project (migration from Chameleon), I'm planning to use Jupiter skin.
|
|
|
Posts:
4,035
Registered:
4-Aug-2006
|
|
|
|
Re: Multi language texts
Posted:
15 Mar 20, 12:05
in response to: guyd
|
|
|
Polyglot is designed specifically for multi-language albums, sample album
Click on a flag to change languages
|
|
|
Posts:
8,470
Registered:
31-Jan-2006
|
|
|
|
Re: Multi language texts
Posted:
15 Mar 20, 12:36
in response to: RobM
|
|
|
|
And I'm fairly certain that's the only one. Providing that capability requires a lot of "engineering," and not even Laza carried that feature over from Chameleon to his newer skins.
To use another skin, I think the only thing you can do is build your album in one language, then duplicate the album and change the titles, comments, and skin texts to the second language and build another album. You could then provide a steering page, like an "album of albums" that has one thumbnail for language1 and another for language2.
|
|
|
Posts:
4,035
Registered:
4-Aug-2006
|
|
|
|
Re: Multi language texts
Posted:
15 Mar 20, 18:35
in response to: JeffTucker
|
|
|
|
Fixed the problem with web locations, thanks for the pm.
Also updated the sample album.
|
|
|
Posts:
4,035
Registered:
4-Aug-2006
|
|
|
Posts:
23
Registered:
5-Jul-2007
|
|
|
|
Re: Multi language texts
Posted:
15 Mar 20, 19:21
in response to: JeffTucker
|
|
|
|
Thanks for your responses.
To jGromit:
Your suggestion is what I was already doing with the Chameleon skin, but images are added and deleted about every week, so I have a central "images" folder that is used to generate three different albums (FR, NL, EN). I have to add comments on each image before generating the updated albums. With the Chameleon skin, I could do it once on the first album, entering my comments in the three languages using the language tags, and then generating the three different albums, each of them having a different language setting.
Now I will have to do it three times, with the risk of errors.
I also couln't find out in which file the comments are written to, although I can see them in the generated html code. (I tested with Jupiter skin)
To RobM: I looked at Polyglot and will instal it, but will it still be compatible with the latest jAlbum releases ?
|
|
|
Posts:
4,035
Registered:
4-Aug-2006
|
|
|
|
Re: Multi language texts
Posted:
15 Mar 20, 20:12
in response to: guyd
|
|
|
Thanks for your responses.
To RobM: I looked at Polyglot and will instal it, but will it still be compatible with the latest jAlbum releases ?
I have just updated it to version 5 and it works, it should work with any version that supports web locations.
With Polyglot you enter the titles and comments for all languages you want to include and it builds a single album, letting users select their preferred one. Just enter, for example a title: Default English Description[cy]Welsh alternative example[de]German alternative example
Use the skin’s texts setting to select the supported languages you want to use.
Edited by: RobM on 15-Mar-2020 19:12
|
|
|
Posts:
23
Registered:
5-Jul-2007
|
|
|
|
Re: Multi language texts
Posted:
15 Mar 20, 21:17
in response to: JeffTucker
|
|
|
|
That's what I thought ... but if it is right that jAlbum writes down the comment text in the comment.properties file, it is not using it !
I spent hours to find out why my comments in one album were messed up when I made changes in another one. And the reason is that jAlbum also writes down the comments as XMP metadata (description) on the original picture file, and that's what it uses when generating new albums or changes.
It's easy to test: make a comment on one picture in an album, then copy the original of that picture to another album, and you will get that comment ...
So when I re-create an album for language A, I can get the latest comments from my album B or C, depending on my latest modifications. Not so funny !
|
|
|
Posts:
23
Registered:
5-Jul-2007
|
|
|
|
Re: Multi language texts
Posted:
15 Mar 20, 22:54
in response to: JeffTucker
|
|
|
|
So simple !
Many thanks, I think I can handle it now.
Just one think about Jupiter, the text for the "Top of page" icon on the index page doesn't appear on mouse over. It is working for the other icons that I use. (But this is perhaps for another thread ?)
|
|
|
Posts:
8,470
Registered:
31-Jan-2006
|
|
|
|
Re: Multi language texts
Posted:
15 Mar 20, 23:21
in response to: guyd
|
|
|
So simple !
Simple if you know where to look! Lots of settings, and some of them are buried in odd places.
Just one think about Jupiter, the text for the "Top of page" icon on the index page doesn't appear on mouse over. It is working for the other icons that I use. (But this is perhaps for another thread ?)
A bug in the skin. I'll fix it in the next release, but that might be a while (I'm making a lot of changes, and they're all half-done right now). So, for a quick fix, open the skin directory - Tools, Open directories, Skin directory - and replace the init.bsh file with the attached version (it's just a one-line fix).
Edited by: jGromit on 20-Mar-2020 09:11 - Patched file removed. Jupiter 11 incorporates this fix.
|
|
|
Posts:
23
Registered:
5-Jul-2007
|
|
|
|
Re: Multi language texts
Posted:
16 Mar 20, 01:59
in response to: JeffTucker
|
|
|
|
Done ! And working, thanks.
|
|
|
Posts:
899
Registered:
13-Apr-2006
|
|
|
|
Re: Multi language texts
Posted:
16 Mar 20, 19:24
in response to: guyd
|
|
|
The "old" Chameleon skin had a nice feature allowing to generate the same album in different languages based on one single set of images.
Is there another skin offering this feature ?
Or is there some code to add to achieve this ? For the concerned project (migration from Chameleon), I'm planning to use Jupiter skin.
I was a long time user of Chameleon and missed the multi language feature in Turtle and Tiger. To be honest, another skin is no option for me, I liked Turtle and now I'm using Tiger.
A few weeks ago I found this:
https://www.w3schools.com/howto/howto_js_full_page_tabs.asp
I compiled a small example which shows how to use that for a kind of multi language tool:
https://www.markus-drueck.de/jAlbum/Code%20Samples/Multi%20Language/index.html
I'm pretty sure, that the experts from team Sweden could probably invent something based on my foolish code into the core of jAlbum (instead of implementing this into a specific skin).
Cheers, Markus
|
|
|
Posts:
1,549
Registered:
6-Sep-2005
|
|
|
|
Re: Multi language texts
Posted:
1 Nov 22, 09:28
in response to: guyd
|
|
|
How would you manage the different translations of the comments?
In Chameleon it looked like this:
Default comment[de]German comment[fr]French comment
I'm not sure this is the best solution.
|
|
|
|
Legend
|
|
Forum admins
|
|
Helpful Answer
|
|
Correct Answer
|
|