Support » Plugins and Hacks » Further information to use I18N for a plugin

  • nbonniot

    (@nbonniot)


    Hello everybody,
    I still have troubles to finalize everything for my brand new plugin, and I hope you could help me. I have 3 questions :

    • So far, I’ve got a .pot file and my first .po file (in french). But when I try to use msgfmt, I got the following reply:

      0 translated messages, 19 untranslated messages.

      My .mo is created, but inside there is just the beginning of the file .po and no messages translated. Could you tell me why?

    • When the first point will be solved, where should I put my .mo file? I would like to create a “languages” folder in my plugin folder and drop everything there, but where do I have to tell my plugin that it’s here?
    • I didn-t get the point about the text domain. So far all my “__()” or “_e()” don’t contain the text domain. Is it mandatory? Should I have to add it?

    Thank you so much for your answer, I would be really appreciated !!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Further information to use I18N for a plugin’ is closed to new replies.