Making plugins translate

dev.xiligroup est en travaux Forums xili-language plugin Making plugins translate

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

Visualisation du message 4 (1 sur 4, 4 au total)
  • Auteur
    Articles
  • #2960

    xiligroup dev
    Keymaster

    What plugins concerned ? I will do a diagnosis according how there are designed on visitors side…

    #2961

    Anonyme

    The NextGEN Gallery plugin is the one I try to get translating.

    #2962

    xiligroup dev
    Keymaster

    NextGEN plugin is localizable only and delivers adapted .mo files that translate currently the dashboard side.

    Beginning by terms of the theme, xili-language « translate » according multilingual rules settings by switching the .mo file. Some framework terms as categories or descriptions are added to this .mo file because currently stable in a cms site.

    Your question – Example : Some plugins add a label or button – visible in visitors side but the name of this button or label is inserted in function _e with domain of plugin but not domain of theme… xili-language introduces a tip to capture this term / domain and permits translation…

    What happens in NEXTGEN which is like an app in app using his own tables (and not custom posts or custom taxonomies) few not gettext functions are also used …? so it will be very difficult to switch according languages the nextgen images and the descriptions.

    The data model is fundamental and xili-language works only on the core of WP and his features with some tips and lot of filters..

    Hope that help you !

    #2963

    Anonyme

    Thanks a lot for the detailed response, even if the conclusion is unfortunate for me. Hopefully someone will make a more modern NextGEN that uses the « correct » methods! It seems I’ll just have to find a workaround or something.

    It means a lot for me to know there is such an active and thorough plugin developer here!

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

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