Category Translation

Ce sujet contient 0 réponses et 4 voix, et a été mis à jour par  xiligroup dev il y a Il y a 13 ans, 9 mois.

Visualisation du message 7 (1 sur 7, 7 au total)
  • Auteur
    Articles
  • #2771

    Anonyme

    I know wp_list_categories(); exist but how can I use it for the above example.

    Thanks in advanced.

    #2772

    xiligroup dev
    Keymaster

    Do you read « readme » of xili-language or posts of dev.xiligroup.com ? No ? Yes ? you will see that xili-dictionary plugin is a powerful tool to translate (and import label from WP database)… As php developer, I invite you also to read plugin source of xili-language and you will find solutions to your questions here.

    Enjoy,

    M.

    #2775

    Anonyme

    Sorry I did read part of the information in the readme also a lot in your site, but information is kinda scattered around, anyhow I did find the info and tried xili-dictionary but I got and error and then screwed my DB trying to remove the plugins left overs :) My bad! I didn’t back up… But at the end I got it figured out.. So thanks anyway…

    And sorry :)

    #2795

    Anonyme

    I cannot see anything working with the category.

    AND I have problems with the pages.

    The posts are working fine.

    Is there any information around?

    (Using Plug 171 and WP 3.0)

    Norberto

    #2796

    xiligroup dev
    Keymaster

    Thanks for your question

    A little recall for category translation :

    Your site must choose a root language, currently english.

    The .mo file (machine translation of .po file) must contain the translations of term and description of each category – you can do it by hand with poedit app. or better with xili-dictionary plugin which is able to import the terms of categories and to list them for translation and finally rebuid the .mo file saved in the theme’s folder.

    See review of Jacob in http://wordpress.org/extend/plugins/xili-dictionary/ (link at bottom right).

    If your website is commercial, it is possible to have paid services to help you.

    Michel of dev.xiligroup.com

    #2854

    Anonyme

    I’m using wordpress 3.1 and a custom child theme of twentyten.

    I get an error when I try exporting the po or mo files from xili-dictionary. I am trying to translate categories and then update the mo file so that my theme nav menu is translated. Some of my nav menu headings are category links.

    I changed all permissions to 777 and get the same error

    This is the error message i get when I export the po from xili-dictionary.

    Warning: fopen(/home/.sites/27/site244/web/wordpress/wp-content/themes/twentyten-child/langs/fr_FR.po) [function.fopen]: failed to open stream: Permission denied in /home/.sites/27/site244/web/wordpress/wp-includes/pomo/po.php on line 71

    This is the error when I try exporting the mo from xili-dictionary

    Warning: fopen(/home/.sites/27/site244/web/wordpress/wp-content/themes/twentyten-child/langs/fr_FR.mo) [function.fopen]: failed to open stream: Permission denied in /home/.sites/27/site244/web/wordpress/wp-includes/pomo/mo.php on line 31

    I am a complete beginner and probably shouldn’t be doing this but I think I’m close. I downloaded poedit to see if I could edit the po file this way but it looks daunting.

    Please help if you can.

    This is the website http://www.gladstoneclayworks.ca/wordpress/

    #2855

    xiligroup dev
    Keymaster

    Thanks for your message.

    These messages are typically coming from files permission.

    Verify via FTP that the concerned folder and file have good permissions… and find an expert near you or ISP support

    See also http://codex.wordpress.org/Changing_File_Permissions

Visualisation du message 7 (1 sur 7, 7 au total)

Vous devez être connecté pour répondre à ce sujet.