Jump to content

Translate dooplay theme permanently


Mystik-DL

Tiny Poll ^^  

7 miembros han votado

  1. 1. Was this helpful?

    • Yes
      5
    • No
      2


Publicaciones recomendadas

In this tutorial I show you how to translate the dooplay theme permanently so that you do not have to re-translate it after an update.

First of all we will need a free software to edit and create an .mo file and a .po file.
Download Poedit here: https://poedit.net/download

1. Install the Poedit software
    • Follow the installer. (I do not think I need to explain how to do it is very simple. Just follow what is written.)

2. Take your mtms.pot file in the theme at the following location dooplay/lang/

3. Open your mtms.pot file with poedit
    • Right click > Open with > Poedit

4. Edit with your translations
    • BovAmBJ.png (create new translation)
    • t1P8CQd.png
      ex:
      fr_FR for the French
      fr_CA for Canadians
      en_US for the Americans
      en_BR for the British
      etc ...

5. Now we save in .po and .mo
    • For the PO: File > Save As > mtms-fr_FR.po > Save (change well with your language of translation)
    • For the MO: File > Compile MO > mtms-fr_FR.mo > Save (Same... change well with your language of translation)

6. Put your files

mtms-fr_FR.mo |
                          | In wp-content/languages/themes/
mtms-fr_FR.po  |

 

That's all for me. ;)

If you have any questions I speak french and english do not hesitate in the comments !

Editado por Mystik-DL
  • Like 1
Enlace al comentario
Compartir en otros sitios web

  • 2 semanas más tarde...
  • 1 año más tarde...

not working, translated everything

renamed it to mtms-hr_HR.mo and 
mtms-hr_HR.po 

 copied it to wp-content/languages/themes/

also tried to copy it to /wp-content/themes/dooplay/lang

as hr_HR.mo and 
hr_HR.po 

and yes my wordpress is im croatian but dooplay theme is not translated.

Enlace al comentario
Compartir en otros sitios web

  • 2 meses más tarde...
  • 4 semanas más tarde...
  • 11 meses más tarde...
×
×
  • Crear nuevo...