How to put languages or flags on menu bar

dev.xiligroup is being renovated Forums xili-language plugin How to put languages or flags on menu bar

This topic contains 0 replies, has 6 voices, and was last updated by  xiligroup dev 7 years, 7 months ago.

Viewing 7 posts - 11 through 17 (of 17 total)
  • Author
    Posts
  • #3081

    Anonymous

    OK Thank you very much for your explanation,

    Best,

    Pinar

    #3084

    Anonymous

    Hi,

    I have really tried to read the documentation, but I can’t manage to figure it out. It ends up with that I just try clicking everything and see what happens… :-(

    My website is this: blogg.husbanken.no/phn12/

    I have managed to get the flags to appear in the top menu bar. However, there are several things I cannot manage, or only partially manage:

    – How can I translate the menu titles?

    – How can I translate the text « Read this page in … »?

    – The « Read this page in … » link is missing from the English home page, why?

    – How can I get the menu items to link to the correct pages? Currently, « Home » links to the Norwegian page, but « Abstracts » links to the English page. Of course, this should follow the selected language.

    – There used to be flags along the « Read this page in … » links, but now there are gone. Why?

    – Is it possible to get the « Read this page in … » links on the top of the article? (Really, those links at the bottom are of no use, since you only discover them after trying to read the whole page!)

    I appreciate all the work you do to document this plugin, but it is still very hard to read. Please consider the following suggestions:

    Use one place and one place only to publish documentation. Currently, you have stuff scattered out over various places: – wordpress.org/extend/plugins/xili-language/installation/, dev.xiligroup.com/?cat=393&lang=en_us, multilingual.wpmu.xilione.com/, 2011.wpmu.xilione.com/. Not only does this make it very hard for you to update all documentation, but it is also very hard for the user to understand. Use just one place, and just provide links from all the other places.

    Please, and I don’t mean this as an insult, but pretty please let someone proof-read your English. It is full of grammatical and typographical errors and many of the words are either archaic or ambiguous. As a result I have to read everything several times and even then I am not certain I understand it correctly.

    Try to minimize the abstract theory when writing instructions, and instead write step-by-step technical instructions. Currently, you write a lot about WHAT and WHY, but very little about HOW to do things. Also, provide many links to general WordPress documentation where applicable. You can’t expect the reader to know everything, and you never know exactly what they do and what they don’t know.

    #3085

    xiligroup dev
    Keymaster

    thanks to your long post here and comment on demo website. I hope to find (free) time this week to make a detailed answer. To avoid a looong topic with too many posts, new topics and posts are open for each main subject..

    #3086

    Anonymous

    Ok, the last question, how to get the « Read this page in… » link at the top of the page, I can answer myself.

    Add the following code to the style.css file:

    .entry-meta div.entry-meta {

    position: absolute;

    top: 20px;

    right: 0;

    text-align: right;

    }

    @media (min-width: 800px) {

    .entry-meta div.entry-meta {

    text-align: left;

    top: 80px;

    right: -50px;

    width: 150px;

    }

    }

    This code is based on the code for the edit link.

    Note to the xili author:

    Placing the language link in a <div class="entry-meta"> is asking for trouble. The « entry-meta » class is already used for the containing footer element and all styles applied to « .entry-meta » will be re-applied to the language link. A better class name would be « language-link » (just like « edit-link » for the edit button right below it). The HTML tag can optionally also be changed into a <nav> tag, for even better semantics.

    #3087

    xiligroup dev
    Keymaster

    Q: Is it possible to get the « Read this page in … » links on the top of the article? (Really, those links at the bottom are of no use, since you only discover them after trying to read the whole page!

    A:Theme twentyeleven-xili is delivered as example of child of twentyeleven. The content of this div is added with the filter (if option is set) ‘xiliml_the_other_posts’ and a special function xiliml_new_list… The div is in single.php and page.php of child theme… As this child as example, you can create you own child…

    #3088

    Anonymous

    I have finally got the plugins installed and German and English set up. I wasted hours trying to figure out your documentation on how the menus worked before coming across a reference to a Xili language widget which is exactly what I was looking for. I didn’t even know that it had been installed at the time I added the plugins…

    Xili is great. The design principles are sound.

    But honestly, I agree with PBB. I am a WordPress newbie and found the documentation very difficult to find and understand!

    I would be happy to contribute to a Wiki or any organised online help documentation. There must be a better way to do it.

    #3089

    xiligroup dev
    Keymaster

    Many thanks for relating your experience. Before opening a wiki, you can use this forum to insert quick post with one subject per post. And if you have a blog with a WP « how to » part as newbie, you can made a review step by step with link to the plugin. xili-language is in constant evolution and 2012 will be also the doc year if we have time.

Viewing 7 posts - 11 through 17 (of 17 total)

You must be logged in to reply to this topic.