Jump to content

Customize Change Language Option


edithbonamy

Recommended Posts

Hi,

 

I wish to be able to display only one language for example:

if the user clicks on French the language display is french but the "button" switch / which appears becomes English

 

Something like this code :

 

{if $LANG.globalsystemname eq "Portal Home"}

English text

{else}

Other Language text

{/if}

 

 

This is actually my custom code in the header :

 

{if $languagechangeenabled && count($locales) > 1}

<div class="pull-right nav">

{foreach from=$locales item=locale}

<a class="quick-nav" href="{$currentpagelinkback}language={$locale.language}">{$locale.localisedName}</a>

{/foreach}

</div>

{/if}

 

or I can be leave the two languages but I boldface one of them: example when the user clicks on french, french becomes fatty!

 

If someone can help me with that it will be great!

 

King regards,

Edith Bonamy

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated