WP-Appbox and WPML (multi-language)
-
hello!
first of all: great work! amazing plugin! thanks a lot! ??
i am now trying to get it to work with my multilanguage installation using WPML. i have 2 languages: english and german. so i tried to alter the url of the app store like this in the functions.php:function wpappbox_get_appstore_url() { if ( ICL_LANGUAGE_CODE=='en' ) : return('https://itunes.apple.com/gb/lookup?id={APPID}'); endif; if ( ICL_LANGUAGE_CODE=='de' ) : return('https://itunes.apple.com/de/lookup?id={APPID}'); endif; }
basically it works, but just the first time – i suppose because the url’s are cached as well? do you know any workaround for this situation? i would consider just turning of the caching for the moment. is that an option and how would i do it?
many thanks for any help! ??
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘WP-Appbox and WPML (multi-language)’ is closed to new replies.