<p>Do you have separate <code>index.php</code> files for your locales? There is a nicely explained documentation for this on the official Get Help pages: <a href="http://buildwithcraft.com/help/localization" rel="nofollow">"How do I show localized content on the front end?"</a></p>

CC BY-SA 3.0
2014-07-02T07:23:39.460Z
2014-07-02T07:23:39.460Z
carlcs
<p>Ok so I know this is something really basic but unfortunately i could not find it in the documentation and I don't have a lot of experience with localisation at all. i have set up two locales in my craft admin panel and I have also updated general.php, etc to set up content localisation. But unfortunately the content that i set as translatable is still displayed in english at both the en and zh site post-fixes. Can somebody simply explain how can I use a link to change the language of all my content on a page to another language inside of a template?</p>

<localization>
How to translate the whole page?
# How to translate the whole page?

(Asked by: username_0 on 2014-07-02)

Ok so I know this is something really basic but unfortunately i could not find it in the documentation and I don't have a lot of experience with localisation at all. i have set up two locales in my craft admin panel and I have also updated general.php, etc to set up content localisation. But unfortunately the content that i set as translatable is still displayed in english at both the en and zh site post-fixes. Can somebody simply explain how can I use a link to change the language of all my content on a page to another language inside of a template?

**Tags:** localization


---

## 1 answers

### Answer by username_1 on 2014-07-02. Score: 4

Do you have separate `index.php` files for your locales? There is a nicely explained documentation for this on the official Get Help pages: ["How do I show localized content on the front end?"](http://buildwithcraft.com/help/localization)


---

