Ray
Active member
How can I set different language attributes for different forums/threads?
The default one is lang="en-US" , I have 3 subforums that contain threads in French only ( lang="fr-FR" ).
I was thinking of editing the PAGE_CONTAINER template as follows:
but doing this will make the entire line of code disappear from non-thread pages.
Thanks in advance!
The default one is lang="en-US" , I have 3 subforums that contain threads in French only ( lang="fr-FR" ).
I was thinking of editing the PAGE_CONTAINER template as follows:
<xen:if is="!in_array({$thread.node_id}, array(70,71,72))">
<html id="XenForo" lang="{$visitorLanguage.language_code}" class="Public {xen:if {$visitor.user_id}, 'LoggedIn', 'LoggedOut'}" xmlns:fb="http://www.facebook.com/2008/fbml">
<xen:else />
<html id="XenForo" lang="fr-FR" class="Public {xen:if {$visitor.user_id}, 'LoggedIn', 'LoggedOut'}" xmlns:fb="http://www.facebook.com/2008/fbml">
</xen:if>
but doing this will make the entire line of code disappear from non-thread pages.
Thanks in advance!