I just got my hands on a WordPress site and i'm trying to edit some words from a theme login template, so I went to cPanel to check how the theme templates handle the copy and I found the
pt_PT.po with the words I was looking for.
After understanding a bit better how
.mo files work, I installed LOCO translations plugin to edit those files and I found the phrases I was looking for, edited and saved them.
I went back to cPanel and the
.po file was changed with the copy I wanted, but there were no changes to the site, even after cleaning the cache.
.mo file was also changed because had the same "last modified" timestamp.
I read in other answers that adding
define('WPLANG', 'your_language'); to the
wp-config.php would do the trick, but since this site already has the translations from English to Portuguese online it didn't make sense to me to add that line.
I'm I wrong and I still need to add it or is it something else?