set the locale for url when adding page links
change regex in wymeditor to match hyphenated locales