-
AuthorPosts
-
January 12, 2017 at 9:54 am #732549
Hi,
How to change category word “all” to other language but keep word “all” for english?
I have multilingual website and i want to change word “all” to other languages. Like you can change logo for different languages.
thanks
Uroš
- This topic was modified 7 years, 11 months ago by Uros.
January 13, 2017 at 5:34 pm #733242Hey guys, any help here plz?
January 13, 2017 at 5:47 pm #733250Hi!
Can you please post a link to your page and elaborate on the changes you would like to make?
Cheers!
YigitJanuary 13, 2017 at 6:10 pm #733269Lets try this…..
How to combine this two codes? instead of LOGO…how to set portfolio category “ALL” to change with different language?
add_filter(‘avf_portfolio_sort_first_label’,’new_first_label’);
function new_first_label() {
$first_item_name = “New All Text”;
return $first_item_name;
}AND
add_filter(‘avf_logo’,’av_change_logo’);
function av_change_logo($logo)
{
$lang = pll_current_language(‘locale’);switch ($lang) {
case ‘en_GB’:
$logo = “http://testdomen.xyz/wp-content/uploads/2016/12/logo-manji-1.png”;
break;
case ‘sr_RS’:
$logo = “http://testdomen.xyz/wp-content/uploads/2017/01/Logo_srp112.png”;
break;
}return $logo;
}January 13, 2017 at 8:10 pm #733309Hey!
Please add following code to Functions.php file
add_filter('avf_portfolio_sort_first_label','new_first_label'); function new_first_label() { $lang = pll_current_language('locale'); switch ($lang) { case 'en_GB': $first_item_name = "New All Text in en_GB"; break; case 'sr_RS': $first_item_name = "New All Text in sr_RS"; break; } return $first_item_name; }
Best regards,
YigitJanuary 14, 2017 at 11:01 am #733516perfect!
thanks!
January 14, 2017 at 3:31 pm #733557I need one more change for different language
Here is pic with what i want to change with different language
it is blog posts element with turned on title, excerpt and read more button….i want to change text in read more button with different language
thank you
Uroš
January 15, 2017 at 2:05 pm #733741Hey guys any help here…just this last one to change?
January 17, 2017 at 3:28 pm #734748Hi,
use Loco Translate or Poedit for it.
Best regards,
Andy -
AuthorPosts
- You must be logged in to reply to this topic.