[Core] fixes language-switcher when using a basepath
[Core] fixes language-switcher when using a basepath

kilip/YAWIK,kilip/YAWIK,cross-solution/YAWIK,kilip/YAWIK,kilip/YAWIK,cross-solution/YAWIK,cross-solution/YAWIK,cross-solution/YAWIK