Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Michel – xiligroup dev

    (@michelwppi)

    Thanks for your question, but I am not sure to really understand the purpose.
    Before you reply, just few notes.

    if a custom post type is well registered according WP rules, you will see it in the fifth tabs of the settings (managing Authoring rules) in a chapter “custom post authoring multilingual rules”… If you check this custom post, you will able to assign a language to these types of post… (list of posts, post editor…)

    Soon,

    Thread Starter Cicciokr

    (@cicciokr)

    Yes thank you very much, i have not seen that area of the plugin.

    (custom post is post.php?post_type=postname)

    Thread Starter Cicciokr

    (@cicciokr)

    another question.. why language is passed as get parameter (&lang=en_us) there is a possibility to save it in a cookie or session and use it?

    Plugin Author Michel – xiligroup dev

    (@michelwppi)

    Thanks for your question about URI and language.
    Instead another CMS approach in other multilingual plugins, since his creation, xili-language uses custom taxonomy to assign language to posts (or custom posts) and don’t use cookies to follow the visitor’s navigation. At first entry in frontpage, if the rule is set for that, plugin detects the language of the browser and display the front page in visitor’s browser language. All the links are completed (if necessary like in list subselection) with parameter language because used by the query to recover posts from your WP database. As visible here, https://2014.extend.xiligroup.org if you are fan of permalink, it is possible to insert language as alias just after domain. A class is available to do that. Today it is reserved for skilled web masters (able to analyse example of child theme of bundled themes) and for donators. Read also About page of the cited website.
    Good works,

    Thread Starter Cicciokr

    (@cicciokr)

    Thank you very much
    I have created a menu with the tecnique of Menu list insertion point.
    But i have seen that if a put in a menu a ‘custom link’ it don’t take tha &lang param.. (i put a link in one of the 2 custom menu, so as a category take &lang i think that custom link must to take it..)

    How can i resolve?

    Thank you

    Plugin Author Michel – xiligroup dev

    (@michelwppi)

    As named, a custom link is defined by the webmaster and xili-language is unable to guess the content… For taxonomy category, because category can contain posts in different languages, the plugin sub-select with taxonomy language so add var in link to do this subselection… remember that xili-language uses CMS architecture of WP without adding annoying additional tables like in other approach…
    hope that helps…

    M.

    Thread Starter Cicciokr

    (@cicciokr)

    Thank you very much i have resolve with custom link adding the query.

    So i have seen that in my custom post-type the xili plugin appear and i can translate it, but in my category of the post don’t appear..
    HERE APPEAR
    wp-admin/edit.php?post_type=mycustom
    HERE NOT APPEAR
    wp-admin/edit-tags.php?taxonomy=mycustom

    how can i resolve for appear the plugin in the category of custom post?

    Thank you

    Plugin Author Michel – xiligroup dev

    (@michelwppi)

    Don’t confuse :
    category is a particular taxonomy attached to post like in main loop of articles (and not page – the first custom post type) in default installation of WP.
    In your case, it seems you have a custom taxonomy ( as example ‘custom tax’) attached to a custom post type ( as example ‘mycustomposttype’).
    Are you sure (like in category) you need to organise these custom posts with multilingual hierarchical taxonomy and sub-selection of cpt ?
    What do you need to see in dashboard admin side ?
    Cheers,
    M.

    Thread Starter Cicciokr

    (@cicciokr)

    i want that the xili language plugin appear in my custom taxonomy.

    can i enable xili language on my custom taxonomy?

    Thank you

    Plugin Author Michel – xiligroup dev

    (@michelwppi)

    In your case: two approaches…

    if your custom taxonomy is not hierarchical like post tag (or topic tag of bbPress), you can use xili-tidy-tags plugin with additional custom code to instantiate the class for this custom taxonomy.
    if your custom taxonomy is hierarchical like builtin default category taxonomy, a special customisation is mandatory to personalise the user and admin sides with filters provided by WP core… (need 2 or three days) – so it is very important to define what you mean when you write : can i enable xili language because the world of features is large ;-)… time is money !
    As I say currently as ‘data-designer’ : so the main thing in this multilingual context is clear define a good data model according the content strategy!

    Thread Starter Cicciokr

    (@cicciokr)

    Thank you very much

    i don’t know so good wordpress data model, i have seen that there are the taxonomy hierarchical and i think that my are this.

    So i have translate it directly on the theme and not from the panel using the __($tag->name, DOMAIN).

    Thank you

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘add to custom post type’ is closed to new replies.