Changes between Version 41 and Version 42 of BluePrint/Translation


Ignore:
Timestamp:
01/05/15 15:04:09 (7 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BluePrint/Translation

    v41 v42  
    2929* Retrieval of strings from currently active template :  Currently, we don’t have an option to check which strings are present in the active template. This can be done as follows:
    3030    * Use the parse tree approach to parse out the currently active template from 000_config.py
    31     * Next, we parse the eden/private/templates/<current-template>/config.py to get the active modules of that template
     31    * Next, we parse the eden/modules/templates/<current-template>/config.py to get the active modules of that template
    3232    * So, only these modules will be checked by default (when showing the module selection page)
    3333    * Hence, we know which modules correspond to the current template and this can be used to extract only the relevant strings.
     
    3535
    3636* Including database variables : We need to extract the strings in database variables so that they too can be translated. Currently, these variables are excluded from translation. Hence, one approach to extract these strings is as follows:
    37     * Use the prepop csv files in privates/templates/<current-template> and mark them to be considered for translation.
     37    * Use the prepop csv files in modules/templates/<current-template> and mark them to be considered for translation.
    3838    * Use S3BulkImporter to get list of csv files from tasks.cfg file in the template folder.
    3939    * Use S3Represent to see which all csv files are to be considered for translation.