Adding translate logic present in current design
fix bug 924804 - Fix lang switcher block
Merge pull request #1505 from darkwing/translate-url

Adding translate logic present in current design
Merge pull request #1506 from darkwing/lang-switcher-924804

fix bug 924804 - Fix lang switcher block