• Hi,

    I am trying to build a multi-lingual blog but i’ve added some code and created a small plugin for it (Will release when final) but I need to know how can I get the following gettext’d so it can be translated into other languages. I am using language switch plugin for my multi-lingual plugin.

    $html_output = ‘

    • post_content . ‘”>’ . $external->post_title . ‘
    • ‘;

      For those who have never used language switcher before all you do is wrang english content in [lang_en]english content[/lang_en] and say french content in [lang_fr]French Content[/lang_fr] what’s happening is the code i pasted above is not translating and the [lang_xx] is being displayed because my line is not “filtered”.

      Any tips are helpful.

      Thanks

      Trevor

Viewing 1 replies (of 1 total)
  • Thread Starter tdelam

    (@tdelam)

    ahh! i forgot to wrap code properly. here is the line of code again:

    $html_output = '<li><a href="' . $external->post_content . '">' . $external->post_title . '</a></li>';

Viewing 1 replies (of 1 total)

The topic ‘making html output “gettext”ed’ is closed to new replies.