2015-09-28, 04:05:29
Hello,
I'm using your plugins with great success but I would like to have 100% multilanguage support on my site... so my question is how should I translate elements like headers, paragraphs or other short texts that I know that will be static and never change? I wrote my own plugin with translations and function like 'function get_translation($field)' which gets me translation from lang folder for that plugin and displays on site. Unfortunately it seems to not work correctly after I change language on the frontend. Despite e.g. is set to - /?setlang=pl the texts appears to not change - only content that uses i18n by - get_i18n_component() function. Why it's not changed? It's not chaning because it takes language set by admin as a global not the one that user sets on his session? Could you help me with my question? Thanks!
I'm using your plugins with great success but I would like to have 100% multilanguage support on my site... so my question is how should I translate elements like headers, paragraphs or other short texts that I know that will be static and never change? I wrote my own plugin with translations and function like 'function get_translation($field)' which gets me translation from lang folder for that plugin and displays on site. Unfortunately it seems to not work correctly after I change language on the frontend. Despite e.g. is set to - /?setlang=pl the texts appears to not change - only content that uses i18n by - get_i18n_component() function. Why it's not changed? It's not chaning because it takes language set by admin as a global not the one that user sets on his session? Could you help me with my question? Thanks!