How to translate / how to align titles an content

Ok,
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.' );

Hope this helps :)

Attachments:

bk
---
J1.7.3 / CB 1.7.1 / PHP 5.2.17 (no, not upgrading yet)
Current J/CB Project

'Terse'
Guide to getting answers
Please note that pm's related to CB issues will go unanswered. That's what the forums are for.

Hi bk6366,

I think there es a small missunderstanding :unsure: 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

Attachments:

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 :)


bk
---
J1.7.3 / CB 1.7.1 / PHP 5.2.17 (no, not upgrading yet)
Current J/CB Project

'Terse'
Guide to getting answers
Please note that pm's related to CB issues will go unanswered. That's what the forums are for.
Time to create page: 0.474 seconds
Facebook Twitter Google LinkedIn