Author Topic: Problem with language  (Read 2425 times)

0 Members and 1 Guest are viewing this topic.

Offline Lukazs

  • Newbie
  • *
  • Posts: 46
    • View Profile
Problem with language
« on: February 19, 2006, 12:48:19 PM »
Hi, I'm using multilanguage in my website and yesterday I instaled one mod. There are only english language words: "Contact" , "e-mail to us". So I deleted "Contact" and instead "Contact" I have added {lang_contacts} in  templates/my template/header.html , then I add $lang['contacts'] = "Contacts"; in my lang/english/main.php file.  But in header.html where {lang_contacts} is, there are empty space. But there have to be the word "Contacts" (I think so). Did I missed someting? What I'm doing wrong.

Thank you

Lukazs

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Problem with language
« Reply #1 on: February 19, 2006, 08:00:08 PM »
You missed one important step - registering a template tag.

In includes/page_header.php find:
Code: [Select]
  "lang_password" => $lang['password'],
Insert below:
Code: [Select]
  "lang_contacts" => $lang['contacts'],
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Lukazs

  • Newbie
  • *
  • Posts: 46
    • View Profile
Re: Problem with language
« Reply #2 on: February 20, 2006, 07:40:45 PM »
Thank you. Super awesome  :wink: :!: