Hi, and thanks for taking your time to read this. ;D
First of all, I’m trying to do multiple language through if / else statements. The website was originally only in English, and now I’m re-doing it into 2 Languages, and possibly more in the future. The site will be the same for 6-12 months, thus I personally don’t mind just coding it in.
The original HTML code I’m trying to ‘convert’ into php code:
[php]
Featured Videos
[/php]So far, this is my code, which isn’t displaying the image and link correctly. I’ve been reading about double/triple PHP quotations, but I just can’t differentiate it, yet!
[php]
Featured Videos
";elseif ($currentlang=="da-DK")
echo “
Duplicate code will be here, just in Danish
”;else
echo “
Just a fallback
”;?>
[/php]
Hopefully someone can help me, maybe tell the difference or just any advice, how you otherwise would do multiple translations. I’m currently using Polylang and ACF.
Best Regards,
Runi