I know how to translate content in WordPress when they are specified in PHP files using .mo
and .po
files with Poedit for example. But the content in WordPress pages are saved in the MySQL database, so it seems to me that this approach is impossible. Is there a way to do this without using any third-party plugins?
To me the main problem seems to be that there is no way to extract the translation strings because they are in the database and not in a PHP file.