Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multiple language Websites - Feature Request or Theme topic ?
#1
Nearly all my projects need support for 2 or more languages

My idea is to create a component offering a language switch - e.g. EN | DE
Within this component to run some regex on <?php get_page_url(); ?> exchanging the individual country shortcut within the Slug/URL- name:

xyz.com/en-test becomes xyz.com/de-test and vice-versa

Unfortunately I didn't find suitable regex (but will continue to check)

Anybody having a better / more elegant solution ?
Reply


Messages In This Thread
Multiple language Websites - Feature Request or Theme topic ? - by wizzy - 2009-08-16, 04:55:07



Users browsing this thread: 2 Guest(s)