Page 1 of 1

B2Dating for vldPersonals

PostPosted: September 9th, 2010, 8:34 pm
by admin
B2Dating

Image

New version of B2Dating gives much more to your members.
It is clean, simple and attractive at the same time.
You can use it for social network or a dating website.
This template has settings page which you can edit.
It takes minutes and no need to edit the XHTML/CSS.

Price = 57 USD

Re: B2Dating for vldPersonals 2.5.7

PostPosted: October 28th, 2010, 11:43 pm
by admin
Question:

I need to translate in my home page the text of new members and popular members:
35 y.o. from Spain Looking for Mujer
i need to translate y.o from and looking for
where i can localize this text?
thanks.
(b2datings templates)(spanish languages)

My answer:

(new members and popular members)
you can found it in your languages files

english lang.core

Code: Select all
"home_latest_members" =>
"New members",

Code: Select all
"home_popular_members" =>
"Popular members",


spanish lang.core

Code: Select all
"home_latest_members" =>
"Nuevos Miembros",

Code: Select all
"home_popular_members" =>
"Miembros Populares",


(if you should have multi languages on your site you need to do this:)
(this is a tutorial how to do:)

change your ext.members_home.tpl
(you must translate y.o. , from, looking for,)
so you must insert new lang strings in lang.custom.php

find this code:
Code: Select all
<li>{profile_field_age_value_years} y.o. from {profile_field_country_value}</li>
<li>Looking for {profile_field_gender2_value}</li>

replace with this code:
Code: Select all
<li>{profile_field_age_value_years} {lang:"custom","home_year_old"}
{lang:"custom","home_from"}{profile_field_country_value}</li>
<li>{lang:"custom","home_looking_for"}{profile_field_gender2_value}</li>

in english lang.custom insert this code:
Code: Select all
"home_year_old" =>
"y.o.",

"home_from" =>
"from",

"home_looking_for" =>
"Looking for",

in spain lang.custom insert this code:
Code: Select all
"home_year_old" =>
"aƱos",

"home_from" =>
"",

"home_looking_for" =>
"Buscando",

and you must change this code in all your lang.custom files

hope it will help you ;)

read the original post here