Which file in the wordpress theme that arrow the language to be used?

0

I created a .pot and .mo file with a translation of a theme into Brazilian Portuguese, so this update is not being applied, it still continues to load the strings in the original language. Does anyone know which file is responsible for setting / setting the language file that will be used? I searched the internet but I did not find the answer I'm looking for!

    
asked by anonymous 30.04.2018 / 17:27

1 answer

1

Save, WPFan! Is that okay?

Dude, I usually do translations using a .mo and .po file, generated by Poedit (I usually edit the .po file in hand, import the poedit and export the generated .mo and put it in the themes translation folder). The files go to wp-content/languages/themes and I use the nomenclature as nomedotema-en_US.po and nomedotema-en_US.mo , where en_US is the language code.

    
08.05.2018 / 21:00