• Resolved fonix232

    (@fonix232)


    Hi!
    I’ve started my little widget plugin ‘Account Menu’, but now, at adding i18n support, something is very bad…
    I don’t know PHP too good, but I’ve successfully converted almost all strings to translate-able format.
    But there’s one line, what I can’t make work…
    This is it:
    <li>Hi, <strong><a href=<?php bloginfo('url') ?>"/wp-admin/profile.php"><?php echo $user_identity?></a></strong> !</li> <br />

    Please, could anyone tell me how should I make it PO-compatible?
    What happened:
    When I’ve added the proper sprintf(_e()) tags, with all %s’s included, and reloaded the page, it just told me that it found an unexpected T_STRING in this line!

    Please, help me!

The topic ‘[HELP] Problems with i18n’ is closed to new replies.