Results 1 to 3 of 3

Thread: Static block in multiple languages

  1. #1
    New user
    Join Date
    07-05-09.
    Posts
    27

    Default Static block in multiple languages

    Hello guys

    how would I implement a static block which contains different text based on the language?
    I imagine the solution is pretty obvious but I don't get it

    basically I need to display a sentence translated in the language that the visitor is using
    A conditional custom HTML module would be fine but I bet there's a smarter solution . This is not in the main content, you can assume it's "part of the layout"

    ( at the moment the site is only in english but it'll be translated as soon as completed )

    ?? thank you

  2. #2
    Community-Moderator
    Join Date
    06-10-09.
    Location
    Bad Segeberg, Germany
    Posts
    16

    Default Re: Static block in multiple languages

    Hi JTO,

    what abot using the inserttag {{iflng::LN}}

    This insert tag will be removed if the page language does not match the tag language LN (replace LN with the ISO language code). Use it to insert language specific content into a module or form.

    Greets
    Stefan

  3. #3
    New user
    Join Date
    07-05-09.
    Posts
    27

    Default Re: Static block in multiple languages

    perfect

    I didn't notice insert tags at the bottom of the documentation ( the wiki is not so intuitive in my opinion...I found the inserttags googling for "typolight inserttag" :D)

    despite I have only english content I tried your solution and it's perfect for what I need, thank you!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •