Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#25 2012-10-17 05:47:49

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,323
Website Mastodon

Re: Textpacks: I18N facility for plugins and other third party software

r4341 introduces ownership of language strings.

Possible owners are:

  • LANG_OWNER_SYSTEM: The string is unconditionally updated from the language server.
  • LANG_OWNER_SITE: The string is localised by procedures at the particular site like uploaded textpacks, manual database manipulation, or dedicated plugins. It is not updated from the language server.
  • A plugin’s name: The string is automatically installed from an embedded
    textpack during the plugin upload and removed when the plugin is deleted.

Offline

#26 2015-09-03 10:28:14

milosevic
Member
From: Madrid, Spain
Registered: 2005-09-19
Posts: 390

Re: Textpacks: I18N facility for plugins and other third party software

Could it be possible to use textpacks at front end? I’m thinking about a plugin (or core tag) to retrieve text strings on forms and page templates. For instance <txp:textstring id=“123”/> where 123 will be the 123th line of a textpack.

I think that something like this will be usefull to build basic multilingual sites, but I don’t know if is there a plugin for that kind of stuff.


<txp:rocks/>

Offline

#27 2015-09-03 13:06:20

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,323
Website Mastodon

Re: Textpacks: I18N facility for plugins and other third party software

txp:text perhaps?

Offline

#28 2015-09-03 15:47:02

milosevic
Member
From: Madrid, Spain
Registered: 2005-09-19
Posts: 390

Re: Textpacks: I18N facility for plugins and other third party software

wet wrote #294490:

txp:text perhaps?

OMG! That’s it. Love textpattern!


<txp:rocks/>

Offline

Board footer

Powered by FluxBB