Quantcast
Channel: polylang – WordPress.org Forums
Viewing all articles
Browse latest Browse all 11471

saldtch2 on "[Plugin: Polylang] Need help with custom string translation"

$
0
0

Hi, sorry about my wordings as you can tell I am pretty confused.
Basically I mean, for example, the "ALL" button of the above portfolio demo, (oh sorry the link is wrong, please check this out: http://artbees.net/themes/ken/grid-three-col/)
I want to change it to French or any other languages I want for the French page, while keeping the English page's portfolio button as "ALL". Since the "ALL" button string of the portfolio is predefined, the only way I know to change it is edit the shortcodes, the related line looks like this:
$output .= '

  • ' . __('All', 'mk_framework') . '
  • ';
    However, this is for sure not the way if I want the code to work for a multilingual website as this will basically change every portfolio section I create with the shortcode.
    That is why I think the string translation can help me to solve this problem (or maybe I am just too confused here, it is actually not for this?)

    Thanks! I hope my queries are clarified!

    Aldrich

    btw the contact form demo link above is also wrong, this is the correct link:
    http://artbees.net/themes/ken/shortcodes-2/contact-social/


    Viewing all articles
    Browse latest Browse all 11471

    Trending Articles



    <script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>