Hi
(searched the forum for answers but didnt find any, alltough I am sure this question has been asked before)

I am trying to do a very simple, "by hand" translation for a version 6.13 site, basically I have gone in and translated the words that I need translated, directly in the code. I dont need admin side translated at all, only some basic front end stuff sen by the visitors.

SO I am looking for help on translating (where to do it)
the "you are here" text
The contact form title (h1) that simply reads "contact" (using the regular contact module)
All the login box items:
the (h2) title that reads User login
+ both labes as well as the create new acc + request password

Also there will only be admin login, so if there is a nifty way of either removing the create new acc + request pasword items, or to have the login block removed completely and to just use an url, I would appreciate the tip

Thanks in advance

Sami

Comments

vm’s picture

you shouldn't be translating in the code. use the locale.module which is part of core or one of the add one modules that allow you to do this. If you hack core, you will have to hack core again when 6.14 is released and again when 6.15 or 7.0 is released. Save yourself the headache and do it the right way the first time.

sambkk’s picture

hi,
yes I agree, its not best practice, however for my current situation with THIS PARTICULAR project it seems like the best option to just do it manually

Sami

brucepearson’s picture

The login block can be removed by editing the blocks admin/build/block and removing it from there.

sambkk’s picture

thanks, Imay do it the proper way after all, since in reality I cant be sure I wont have to update the site later even though it seems unlikely now. But removing the login block is handy to know no matter how I do the translation