Reply to comment

  • robert.killer (not verified)
    Tue, 2009-10-20 10:26

    Things newbies need to be aware of before doing this tutorial
    1.) The comments in the code snippets from the po files are *NOT* legal comments. The comment delimiter for po files afaict is "#:", maybe with a required leading unix newline. Do *not* use the shown "//" at the beginning of a comment line!
    2.) There is no explaination given why localisation names diverge so much, even vertically across the stack (zh_cn vs. zh-cn or en_us vs. JN0-522 eng or deu vs. de_de) The default application stack lacks consitency here, newbies need to be aware of that and establish their own conventions if the need arises.
    3.) The tutorial mostly just offers codesnippets and hardly says where to put what - newbies will have to look up the Cake filename/classdirectory convetions. As this tutorial is for 1.2 but the manual only covers 1.1 (as of now Sebtember 2007) there are a few differences to expect.
    4.) Everything under /app/view/ (templates) uses '.ctp' as ending as of CakePHP version 1.2. NS0-163 Trying to figure out CakePHP templating standards using this tutorial and the manual can be confusing, keep the above in mind.
    5.) The 'en_gb.gif' files (presumably images of flags)
    don't exist within the framework and it isn't said where they belong.642-973 I presume studying the class(es) used to instance the $html object or studying the manual may bring some insight here.
    6.) Bottom line: This is NOT a tutorial for people who aren't safe in navigating around in unknow application frameworks and learning their methodologies. Nor is it for those who are easyly confused by object oriented concepts. The scarcity of detail information in this tutorial can only be met by doing own further research on CakePHP! ... However it does give a nice strategy for dealing with persistant internationalisation for those willing to dive into the details to get it working for their application.

  • Reply

    The content of this field is kept private and will not be shown publicly.
    • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
    • Lines and paragraphs break automatically.

    More information about formatting options


    CAPTCHA
    This question is for testing whether you are a human visitor and to prevent automated spam submissions.