Fork me on GitHub

[Ok] No translation in Modules "User.php" "Admin.php" etc.  Bottom

  • There is no translation more directly rather than directly in the modules. Only text that has been rendered, is translated.
    Is there a reason for this

    Code

    echo __('Please select');


    Ver: 1.3 (latest from GitHub)
  • If you need to translate you must specify the domain of the translation that has the translation.

    Code

    echo __('Please select', 'module_foo');


    You can use

    Code

    $domain = ZLanguage::getModuleDomain('foo');


    to get the correct domain.

    Drak

    --
    Zikula Lead Developer
    Board Member of the Zikula Foundation
    Follow me on twitter.com/zikuladrak
  • The error was a corrupted PO-File

This list is based on users active over the last 60 minutes.