Loading...
 
Multilingual/i18n

Multilingual/i18n


How can I change the label 'user' to 'screen name' in the login box?

posts: 13 United States

I have setup tikiwiki-1.9.7, MySQL 5.0.45 Apache 2.2.4. The Language in Admin-> General is setup to 'English (en)'. So far so good.

Nevertheless, when I attempted to change the login box's label 'user' to 'screen name', and 'pass' to 'password', I could make it happen by editing templates/modules/mod-login_box.tpl. I soon realized that this is not a good place to do it. So, after reading the tiki online doc, I decided to modify lang/en/language.php instead.

I commented out 'user' => 'user', and changed it to 'user' => 'screen name',
'pass' => 'pass', and changed it to 'pass' => 'password'.

Then, Admin -> System Admin -> Template compiler -> en -> Compile.

But, the above didn't change the two labels to what I wanted. I didn't get any errors either.

Am I missing anything? Any hints/tips are appreciated.

--Peter

posts: 1817 Catalan Countries

Well, Peter, ensure that you cleaned the cache (Admin home > System Admin - at least the templates_c, but you could clean the three of them)

> Am I missing anything? Any hints/tips are appreciated.
>
> --Peter
>

Moreover, check that you are not storing translation in database.
Admin > i18n (Internationalization) > Use database for translation" (uncheck it)

More info at:
http://doc.tikiwiki.org/Translating+to+a+new+language

You are welcome to improve the Documentation! :-)

HTH

posts: 13 United States

> Well, Peter, ensure that you cleaned the cache (Admin home > System Admin - at least the templates_c, but you could clean the three of them)

The above did the trick.

> Moreover, check that you are not storing translation in database.
> Admin > i18n (Internationalization) > Use database for translation" (uncheck it)

The option was unchecked by default.

>
> More info at:
> http://doc.tikiwiki.org/Translating+to+a+new+language
>
> You are welcome to improve the Documentation! :-)

Yes. The documentation never mentioned about cleaning the cache. I will see if this evening I will have some time to write some nice additions to the relevant section.

Thank you again for the tip!

--Peter
>
> HTH


Upcoming Events

No records to display

Menu