Language setting and encoding based on forum ID

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • scubish
    New Member
    • Apr 2007
    • 1

    Language setting and encoding based on forum ID

    Hi,

    I have bought and instaleld vBulletin, but can't post in the How Do I boards. So perhaps I can get the answer here.

    My forum has boards with different languages and encodings and I would like to return the correct language code and encoding for each board.

    Since there is only a global setting for languages and encodings, I was thinking that perhaps I can add this via a modification of the header template?

    IF Forum=1
    LANGUAGE = en, ENCODING=UTF-8
    ENDIF
    IF Forum=2
    LANGUGAE = fr, ENCODING=UTF-8
    ENDIF
    IF Forum = 3
    LANGUAGE= ru, ENCODING=koi8-r
    ENDIF

    Would that work or is there a better way to do this?

    How do I write the IF statement based on the forum ID?

    Thanks,
    Matthias
  • feldon23
    Senior Member
    • Nov 2001
    • 11291
    • 3.7.x

    #2
    Why Can't I Post or Download Files?

    Comment

    • AndMcgr
      New Member
      • Mar 2007
      • 26

      #3
      Great link

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...