WordPress.org

Ready to get started?Download WordPress

Forums

qTranslate
How do I get to translate a text within .js like that line? (1 post)

  1. iLucato
    Member
    Posted 3 months ago #

    Hi folks,
    How do I get to translate with qtranslate a text within .js code like that line:

    $('#ss_account_submit').val('Create Account!');

    I tried a lot of things with my low knowledge in Php that didn't work, such as:

    $('#ss_account_submit').val('[:pt]Crie uma conta![:en]Create Account!');

    $('#ss_account_submit').val('<--:pt-->Crie uma conta!<--:--><--:en-->Create Account!<--:pt-->');

    $('#ss_account_submit').val __(('<--:pt-->Crie uma conta!<--:--><--:en-->Create Account!<--:pt-->'));

    $('#ss_account_submit').val (<?php __('<--:pt-->Crie uma conta!<--:--><--:en-->Create Account!<--:pt-->') ?>);

    Any idea what could work for this original line?

    $('#ss_account_submit').val('Create Account!');

    Thanks

Reply

You must log in to post.

About this Plugin

About this Topic