I downloaded the 'Last Visitors' add-on and took a look at the files.
I've (crudely) translated them to include a screen capture for your reference:
If you would rather edit the translation, make your changes as follows around line 36.
You will find cb.lastviews.php in your_website_root/components/com_comprofiler/plugin/user/plug_cblastviewstab (backup the original first in case something goes wrong).
$LVthelast=$params->get('LVthelastTXT','Das Letzte');$LVadmin=$params->get('LVadminTXT','(admin)');$LVviews=$params->get('LVviewsTXT','ansichten');$LVavatar=$params->get('LVavatarTXT','Foto');$LVname=$params->get('LVnameTXT','Nennen');$LVtime=$params->get('LVtimeTXT','Zeit');$LVtotal=$params->get('LVtotalTXT','Gesamt');$LVguests=$params->get('LVguestsTXT','Gäste haben dieses Profil besucht.');
I think there es a small missunderstanding It is already possible by the help of the tab parameters of this plugin to change the heading titles (there are some parameter fields). BUT my website is in English and German (bilingual). So the site should change dynamically when I change the site language...this means to hardcode the language strings doesn't help....may be it is not possible with this plugin...what do you think? Cheers
The administrator has disabled public write access.
Re: How to translate / how to align titles an content
2 years 6 months ago #193852
Ok, I understand what you're trying to do.
I haven't personally worked with multi-lingual sites but I understand the dynamic concept.
I'll have some time later to see if there's anything I can dig up. Maybe someone else will jump in in the meantime to help