back to phpList.org

Translate subscription labels


#1

Hi,
I am not into phplist but I am maintaining a multilingual website, where somebody else integrated phplist.
I was asked now to translate the labels in the subscriptions forms into the different languages. I have been googeling, but can not find any hint.
Thanks a lot for some keywords on what to do.


#2

@tpk109 The subscription pages are already translated into many languages (in the lists/texts directory). What exactly are you looking at that needs to be translated?


#3

Hi,
what do you mean by lists/texts directory?

I need the labels of the form translated (E-Mail, Name, Vorname, Stadt, Land).


#4

That is a directory within the phplist code.

Sorry but it is still not very clear what you want to do.

In your example Vorname, Stadt, Land etc are probably what are called attributes, and the name cannot be translated. You can give an attribute a name in German, “Stadt” say, but there is no way to display that in French. phplist doesn’t support that.

If your application displays in French then it can display a translated label, which it needs to manage, but still needs to refer to the “Stadt” attribute when submitting the subscription form.


#5

Thanks a lot for helping. It’s easiest to show the links, I suppose

http://gaia-satsang.com/nl.php?domain=gaiaDE
http://gaia-satsang.com/nl.php?domain=gaiaR
http://gaia-satsang.com/nl.php?domain=gaiaT

Where can I control the attributes? As said, I hardly know phplist


#6

@tpk109 As a start, login to phplist then look at the attributes, menu Config > Configure attributes
There you will see all the attributes that have been created, such as Vorname, etc.


#7

OK, found them. You write above that the labels can be translated. How do I manage that?


#8

@tpk109 No, the attribute names cannot be translated.


#9

So, are you saying that I can not have subscription forms with translated labels in phplist?


#10

And therefore it’s not a good idea to have phplist on a multilingual page? Or is there a way to hack this somehow


#11

@tpk109 I don’t know of a work-around, but then I am English so haven’t really met this problem.

Depending on what you actually do with the values entered by subscribers, you might create additional attributes, one for each language. Then use the appropriate attribute on each subscribe page.