Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2007-10-15 18:39:11

dbulli
Member
Registered: 2004-11-22
Posts: 195
Website

Re: Academic bilingual site

Nice of you to share how you did multi lingual .. much appreciated !


nuff-respec ::: dannyb

Offline

#14 2011-04-26 16:58:30

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,091
Website Mastodon

Re: Academic bilingual site

quinceginger wrote:

Hi, I have added this to the wiki: Managing bilingualism without a plug-in? title=Managing_bilingualism_without_a_plug-in_%28a_partial_answer%29

i know there is the MLP, but i am interested in pursuing a simpler method. Where did the WIKI entry go? Can you email me the write-up if it’s still around.

thanks…

PS i really detest dead links!


…. texted postive

Offline

#15 2011-04-27 23:10:15

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Academic bilingual site

Offline

#16 2011-04-28 04:20:49

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,091
Website Mastodon

Re: Academic bilingual site

Els wrote:

Maybe Robert’s article can help? Multi-lingual articles in Textpattern: A poor man’s solution

it does … thanks
Am i assuming correctly that the text has to be entered in a form? it cannot therefore be done by editors at the new article phase? I don’;t want to give editors access to the forms or pages sections.


…. texted postive

Offline

#17 2011-04-28 07:38:02

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Academic bilingual site

Well, if you’re only using two languages, I guess you could use the body and excerpt field for the article body, and maybe custom fields for the titles and do something like this:

<txp:output_form form="accept-language" />
<txp:if_variable name="accept-language" value="de">

<h3><txp:custom_field name="german_title" /></h3>
<txp:body />

<txp:else />

<h3><txp:custom_field name="english_title" /></h3>
<txp:excerpt />

</txp:if_variable>

BTW here is the wiki article. It’s a bit outdated, the described workarounds are no longer necessary since we can use tags as attributes.

Offline

Board footer

Powered by FluxBB