Viewing 15 replies - 1 through 15 (of 35 total)
  • Plugin Author Gunu

    (@grafcom)

    @nic727,

    maybe this helps

    Success

    Thread Starter Nic727

    (@nic727)

    ok thank you, and how to remove flags?

    Plugin Author Gunu

    (@grafcom)

    See under FAQ – Can I change the look of Language Switcher Menu?

    Thread Starter Nic727

    (@nic727)

    Ok yeah, where do I enter the informations?

    Can I change the look of Language Switcher Menu?
    The following query options can be typed in the field “URL” of “Language Menu” custom menu item, after “#qtransLangSw?”, separated by “&”, same way as options are provided on a query string:

    type=[LM|AL] – type of menu:

    “LM” – Language Menu (default).
    “AL” – Alternative Language: the top menu entry displays the first available language other than the current.
    title=[none|Language|Current] – title text of the top item:

    “Language” – word “Language” translated to current language (default).
    “none” – no title in the top of menu, flag only.
    “Current” – displays current language name.
    flags=[none|all|items] – the way to display language flags:

    “none” – no flag is shown in any item, including the top item.
    “all” – all items show flag, including the top item.
    “items” – only sub-items show corresponding flag, top item does not.
    current=[shown|hidden] – whether to display the current language in the menu.

    For example, to show flag only in the top language menu item, enter #qtransLangSw?title=none, if in addition to this current language is not needed to be shown, enter #qtransLangSw?title=none&current=hidden, and so on.

    We understand that this is not a very user-friendly way to adjust the options, but it works, and we will provide a better in-editor interface to specify them in the future.

    Plugin Author Gunu

    (@grafcom)

    In your Theme CSS file play with:

    .qtranxs_language_chooser li { display: none; } for example

    Thread Starter Nic727

    (@nic727)

    ok I will try. Also, is it possible to make that my switcher only show the other language. For exemple, if I’m on the french website, I only see “english” on top right and on english website I only see “francais” to switch in one click. I only have two language, so I think it’s a good option.

    Thread Starter Nic727

    (@nic727)

    Or maybe it’s in the php? I can’t see #qtransLangSw? or other options like type=[LM|AL] – type of menu:

    I know that I’m asking a lot of thing (maybe it will help other too) Is it possible to remove language switcher from the admin panel?

    Plugin Author Gunu

    (@grafcom)

    #qtransLangSw? can be used in the Language Switcher widget under Appearance – Menus

    Do you not use the widgets you’ll need to experiment with changes in the CSS file of your theme and php code.

    Is it possible to remove language switcher from the admin panel?

    why so?

    Thread Starter Nic727

    (@nic727)

    I found : #qtransLangSwLM# in the language menu in my menu as an URL.

    So I wrote something like : #qtransLangSwLM#&flags=none

    Nothing changed.

    Plugin Author Gunu

    (@grafcom)

    try #qtransLangSw?flags=none

    Thread Starter Nic727

    (@nic727)

    ok it work. What about what I was talking (only show other language)?

    Plugin Author Gunu

    (@grafcom)

    experiment with the all the differences.

    Thread Starter Nic727

    (@nic727)

    ok got it alone with this full code (if it can help someone) :

    https://qtransLangSw?flags=none&type=al

    Plugin Author Gunu

    (@grafcom)

    Ok, this is Resolved now?

    Thread Starter Nic727

    (@nic727)

    yes ??

Viewing 15 replies - 1 through 15 (of 35 total)
  • The topic ‘Language switcher problem’ is closed to new replies.