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