Fork me on GitHub

Installation and languages  Bottom

  • While testing installation process with RC 4 I've found some issues. Can't say, that those are bugs, however can cause some problems.

    Some elements which cannot be translated are putted in lang files.
    Examples:
    - Modules/pnlang/LANG/init.php

    Code

    define('_MODULES_1_f', 'Modules');

    It's used for Modules module directory. Try to translate this...
    - Users/pnlang/LANG/init.php

    Code

    define('_USER_2_r', md5('Password'))

    It's used for default Admin password. Looks like something to translate, but - during installation Admin user is logged using hardcoded password "Password" install/functions.php, line 372).
    What's more - in my opinion - the password should not be encoded in the lang file. It's not good place for PHP code.

    I'm not reporting this at NOC/trac, because it's not strict error. PN will work whit this issues, but I thing that this it is necessary to think about this. Not for .8, but for future versions.

    Language files should contain only what it is possible to translate. They should not serve as config files (as it is sometimes).
    We should make an assumption, that lang file without syntax errors, doesn't influence on the system. At worst something will be badly translated.




    --
    Polish Zikula Team
    Bianor Works - my Zikula works on CoZi
  • You should report that anyway. Then it won't get lost and it's up to the developers to decide if it's a bug or a feature. icon_wink

    --
    best regards from Kiel, sailing city

    Steffen Voss

    Member of the Zikula Steering Committee
    Read The Zikulan's Blog "If you want people to RTFM, make a better FM!"
  • I doubt we'll fix these for .8 though we may, but .9 has been converted to gettext so we ought to check the problems haven't been carried over.

    --
    itbegins.co.uk - Zikula Consulting

    birtwistle.me.uk - Personal Blog


    Please read the Support Guide
  • Simon

    I doubt we'll fix these for .8

    I've posted it here having 0.8 successors in mind
    It's more about language conception then this or another bug.
    Just wanted to point this things icon_smile (and was angry after an hour of finding this issue while testing polish lang pack with translated "Password" etc icon_biggrin )

    --
    Polish Zikula Team
    Bianor Works - my Zikula works on CoZi
  • With gettext there simply won't be language files in the same sense so the problem will go away.

    -Mark

    --
    Visit My homepage and Zikula themes.

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