Greetings,
I was wondering – can I have the Account Menu translated via the child-theme’s function.php
something like:
$aux_links_output .= '<li><a href="' . $my_account_link . '">' . __( "My Account", "swiftframework" ) . '</a></li>' . "\n";
if ( if get locale() ) == 'bg_BG' ) {
$aux_links_output .= '<li><a href="/bg/moiya-account">' . __( "MY CUSTOM LINK TEXT", "swiftframework" ) . '</a></li>' . "\n";
Or is there another way to have it translate?
I am using Polylang & Loco Translate, but I can’t find these string to translate. I mean I did in Loco translate bu putting as a translating not just the word but with <a href="url to menu">my translated menu name</a>,
but this thing broke a few things in the theme.
I would really appreciate it if you can help me with this.
Thanks!