Security

Reply
Frequent Contributor I
Posts: 99
Registered: ‎08-31-2016

Guest Language Packs HTML missing

When a non-English language pack is in useall of my custom HTML isn't used, and everything uses the default template instead. Is this a problem with my HTML, or something in the configuration I missed?

 

Header HTML example:

2017-06-08_13h28_25.png

 

 

English:

2017-06-08_13h29_18.png

 

German:

2017-06-08_13h29_54.png

Frequent Contributor I
Posts: 99
Registered: ‎08-31-2016

Re: Guest Language Packs HTML missing

I'm just going to disable the auto language detection for now, and force users into english, but hopefully someone has insight into this.

 

 

MVP
Posts: 554
Registered: ‎11-04-2011

Re: Guest Language Packs HTML missing

Can you try to remove the tags:

{nwa_text id=7980}  and later the {/nwa_text} ?

 

I think these will replace what is in between by a localized version.

 

So just remove those two tags completely from the Header HTML.

--
If you have urgent issues, please contact your Aruba partner or Aruba TAC (click for contact details).
Frequent Contributor I
Posts: 99
Registered: ‎08-31-2016

Re: Guest Language Packs HTML missing

I would like the text inside replaced by a localized version, so I want to include that tag.

I assume the <\br> break is causing the localization to stop or not include the following portion. Is there a different syntax I should be using instead of <\br>, or an additional nwa_text tag I should be adding after the break?

MVP
Posts: 554
Registered: ‎11-04-2011

Re: Guest Language Packs HTML missing

Ah, I understood the question the other way around, like how to prevent translation.

 

I don't think the translation of those dynamic (free form) fields is supported. How this is done in other cases is that a login page per language is created, and then use some scripting to redirect users to the right language page.

 

What might work as well is use the following code in your custom HTML:

{if $current_lang == 'ar'}
PASTE YOUR REDIRECT CODE HERE -- OR WHATEVER LANGUAGE-SPECIFIC CONTENT -- SEE EXAMPLES ABOVE
{elseif $current_lang == 'jp'}
PASTE Japanese here
{else}
Fallback here
{/if}

If you need a more definitive answer, please contact Aruba TAC.

 

--
If you have urgent issues, please contact your Aruba partner or Aruba TAC (click for contact details).
Frequent Contributor I
Posts: 99
Registered: ‎08-31-2016

Re: Guest Language Packs HTML missing

I think I'm going to stick with forcing everyone to use english, and leave the language detection disabled. Setting up all the proper formatting for all the languages is a bit more than what's needed.

 

thank you for the response and answer, it's helped me understand how the translation part works a bit better.

Search Airheads
Showing results for 
Search instead for 
Did you mean: