Answers.Body: <p>I have accidentally add "return array.." two times in my config/general.php file. I removed one and its working fine now. </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-03-31T13:31:25.797Z
Answers.LastActivityDate: 2015-03-31T13:31:25.797Z
Answers.UserDisplayName: imnotsure
Body: <p>I've tried the LanguageLink and the last solution described here: <a href="https://craftcms.stackexchange.com/questions/44/how-can-i-build-a-language-switcher/6611#6611">How can I build a language switcher?</a> but it never returns any URI. I'm not using translated slugs.</p>
  
  <p>As setup I've used: <a href="http://buildwithcraft.com/docs/localization-guide" rel="nofollow noreferrer">http://buildwithcraft.com/docs/localization-guide</a>. The language dropdown is part of top.html which I've included in each page</p>
  
  <p>Things I have checked:</p>
  
  <ul>
  <li>/config/general.php and that looks fine</li>
  <li>index.php in public_html/stagingtest/ (for english) and public_html/stagingtest/es/ and public_html/stagingtest/nl/ and appears to be ok</li>
  <li>when I go to www.example.com/stagingtest/es/report/ its loading fine. craft.locale appears to be ok, but the language uri's are still blank. I can see siteUrl is displaying the correct uri. </li>
  </ul>
  
  <p>Any suggestions?</p>
  
Tags: <config><language>
Title: Language link not working for me
ThreadText: # Language link not working for me
  
  (Asked by: username_0 on 2015-03-31)
  
  I've tried the LanguageLink and the last solution described here: [How can I build a language switcher?](https://craftcms.stackexchange.com/questions/44/how-can-i-build-a-language-switcher/6611#6611) but it never returns any URI. I'm not using translated slugs.
  
  As setup I've used: <http://buildwithcraft.com/docs/localization-guide>. The language dropdown is part of top.html which I've included in each page
  
  Things I have checked:
  
  * /config/general.php and that looks fine
  * index.php in public\_html/stagingtest/ (for english) and public\_html/stagingtest/es/ and public\_html/stagingtest/nl/ and appears to be ok
  * when I go to www.example.com/stagingtest/es/report/ its loading fine. craft.locale appears to be ok, but the language uri's are still blank. I can see siteUrl is displaying the correct uri.
  
  Any suggestions?
  
  **Tags:** config, language
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2015-03-31. Score: 2 | Accepted answer
  
  I have accidentally add "return array.." two times in my config/general.php file. I removed one and its working fine now.
  
  
  ---
  
  