Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-10-08 20:52:59

hafnius
Archived Plugin Author
From: DK
Registered: 2004-09-02
Posts: 47

plugin localization

I am writing a plugin that has some language strings that are not available in Txp by default. What is the accepted method of supplying them to the plugin and localizing them so i have them in the same place and dont have to have them scattered in the source code?

<label for="link-word_def">'.gTxt('word definition').'</label>'

For instance “word definition” is not there and i am from DK and would like to provide the plugin in danish as well.

Thanks in advance
-Klaus b

Last edited by hafnius (2007-10-08 20:54:47)


– Nobody puts Baby in the corner !
Johnny Castle, Dirty Dancing

Offline

#2 2007-10-08 21:01:37

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: plugin localization

See MLP

Offline

#3 2007-10-08 22:20:39

hafnius
Archived Plugin Author
From: DK
Registered: 2004-09-02
Posts: 47

Re: plugin localization

Thnaks ruud, that seems to do the trick :-)


– Nobody puts Baby in the corner !
Johnny Castle, Dirty Dancing

Offline

Board footer

Powered by FluxBB