Announcement

#1 2013-09-05 16:08:21

raymond1965
Member
2013-09-05
83

categories in different language

Can someone tell me if it is possible to translate the categories.

I other words. When I change the language, the names of the albums should change also.

i use the latest version

Offline

 

#2 2013-09-05 16:20:54

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: categories in different language

install Extended Description plugin
next to each album description field there is link to the help explaining how to use multi-language texts
it's also useable for the album title

Offline

 

#3 2013-09-05 16:37:19

raymond1965
Member
2013-09-05
83

Re: categories in different language

Hi,
Thanks for your quick reply.
I installed this plugin before, but I didn't know how I to use it. Still don't.

It's activated again, but not visible in the plugin tree. (is this normal?)


I click on the ? and see the information, but still I don't know what I should change.

Thanks!

Ray

Offline

 

#4 2013-09-05 16:42:50

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: categories in different language

so I will quote the help

Multilanguage descriptions

Multilanguage descriptions are placed between [lang=xx] and [/lang] tags, where xx is the language code (for example en, es, fr). There are also 2 special languages : [lang=default] and [lang=all]

    Example:
    [lang=default] default description [/lang]
    [lang=en] description in english [/lang]
    [lang=de] deutsche Beschreibung [/lang]

The default description will be used if the description is not available in the connected user selected language. If [lang=default] does not exists, anything outside the [lang] tags will be considered as the default description.

Special language all: anything inside [lang=all] will be included in the description, whatever the connected user defined language is. This is mainly useful to include HTML/JavaScript code inside a description.

use exactly what is written, in the fields you want to be multi-lang
not complex

Offline

 

#5 2013-09-05 16:43:38

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: categories in different language

try:

[lang=default]in english[/lang][lang=fr]en français[/lang][lang=de]auf Deutsch[/lang]

Offline

 

#6 2013-09-05 17:14:45

raymond1965
Member
2013-09-05
83

Re: categories in different language

Hi,
This should be added in iso.txt?

Ray

Offline

 

#7 2013-09-05 17:22:37

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: categories in different language

start from the begining : what to you want ? the album title in multiple languages
how to do it ? use the languages tags provided by Extended Description
so where do you think you must write what plg gave ? in the album title field


(please don't think I laugh at you as some users did, I just try be direct and synthetic)

Offline

 

#8 2013-09-05 17:38:22

raymond1965
Member
2013-09-05
83

Re: categories in different language

Hi,
Don't worry that I think you are laughing, but if i give you a car key and there are standing 20 cars, do you know which one to take?

Some things are simple and some not? if you know the way, everything is easy?

It would be easier to tell it in steps.

Thanks
Ray

Offline

 

#9 2013-09-05 17:45:45

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: categories in different language

the problem is... I don't understand the problem

you said you clicked on the ? four posts ago, so you know where is the admin page of the album, from there I am sure you can locate the title field, there is no so much things on this page

and plg gave you the exact patern you must write in the title in order to have a multi-language title
I swear you can adapt it your-self with the language jeys you want to handle

(I am not into step by the guides for such simple things)

Offline

 

#10 2013-09-05 18:05:00

raymond1965
Member
2013-09-05
83

Re: categories in different language

yeah yeah
I found it.

Thanks!

Offline

 

#11 2013-09-05 18:12:32

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: categories in different language

nice :-)
if you need more details don't hesitate

hint: the language keys used by ExtendedDescription are the first two letters of folder names inside Piwigo languages directory

Offline

 

#12 2013-09-05 21:28:45

raymond1965
Member
2013-09-05
83

Re: categories in different language

Hi,
One question?
I added [lang=default]in dutch[/lang][lang=en]in english[/lang][lang=de]auf Deutsch[/lang] and I see in manage albums the languages.

When I choose "Dutch" and change the language, it still overwrites the English and German again??????


Must be a small issue, but what?

HELP!

Ray

Offline

 

#13 2013-09-06 10:59:32

flop25
Piwigo Team
2006-07-06
7037

Re: categories in different language

if the language chosen is Dutch, the tags for other languages are not displayed, obviously. The English tags are displayed for English etc


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#14 2013-09-06 14:50:10

osyris
Member
2013-07-29
12

Re: categories in different language

This worked great for me. Thanks, guys!

Offline

 

#15 2013-09-06 16:37:28

raymond1965
Member
2013-09-05
83

Re: categories in different language

I think I miss or oversee something!

I attach a file to show you what I see.

When I go to English or German (admin) I see the same but then "in German or "in English", but with the names of the categories in Dutch language.


When I go to the English language and change some words in English, then the Dutch and German changed also to English.

Thanks!

Ray

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact