Forum Replies Created
Managed to fix it after checking several files.
In mappress_poi.php line 249:
'text' => __('Directions from')));
'text' => __('Directions from', 'mappress')));
All is fine now 😀
I’ve managed to update most of the translation with the help of a plugin, regenerating po/mo files, but some words are not being translated no matter what.
Calle Uno 6251
Dirección a Directions from
Which file do I have to edit the translate directly? The Direccion A (Direction to) translates, but the next one is giving me hell. No matter what I do it wont translate.
I checked the template files and it seems ok, and the translation text is there but the output is not being translated on those few words :\
I ended up removing this:
/* Links for the map */
border-top: 1px solid lightgray;
border-bottom: 1px solid lightgray;
the border top/bottom were the 2 px of line, heh. I will be upgrading to the pro version soon I guess, its perfect for the project I am finishing.
Update: it ended up being a problem with the theme. I used another theme as a base, and now it works.
Just checked, and some js from other plugins is not being loaded in the footer either. Changing themes fixes the issue. I tried the validator to check on the html and its ok.
I guess I am missing something else from the template system (I’ve checked the code in header/footer/index.php and everything is there :\)
I tried the default theme and the map loaded. My footer.php does contain <?php wp_footer(); ?>, its weird because half the stuff is being called for the map :\
Nope, no plugins. Its a theme I am building on a blank theme file, so there are no weird js scripts or plugins.
I did edit header.php so its probably not being called. Just 1 js file is supposed to be called by this plugin, right?
Edit: I installed Contact Form 7 at the same time as MapPress, and the JS for that plugin is being added.