Support » Plugins and Hacks » [Plugin: TF FAQ] Translations

[Plugin: TF FAQ] Translations

  • 1. Please, make all text translatable.
    For example:
    tffaq-questions.php. line 241.
    <a title="" href="?page=tffaq-questions&new=new&cat=<?php echo $cur_category->id?>" class="button-secondary">Add a New Question</a>
    Make text Add a New Question translatable.

    2. Can you add placeholders for some strings?

    I am trying to translate you plugin to russian language, but in some cases it’s very hard to do. Please, use placeholders.
    For example:
    tf-faq.php. line 252.
    $subject = $cat->category.' '.__('question','tf-faq');
    replace with
    $subject = sprintf(__('%s question','tf-faq'), $cat->category);

    In this way I can change words positions. This is what I need.


  • The topic ‘[Plugin: TF FAQ] Translations’ is closed to new replies.