119 | | * 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:- |
120 | | |
121 | | * Use the parse tree approach to parse out the currently active template from 000_config.py |
122 | | |
123 | | * Next, we parse the eden/private/templates/<current-template>/config.py to get the active modules of that template |
124 | | |
125 | | * So, only these modules will be checked by default (when showing the module selection page) |
126 | | |
127 | | * Hence, we know which modules correspond to the current template and this can be used to extract only the relevant strings. |
| 119 | * 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: |
| 120 | |
| 121 | *Use the parse tree approach to parse out the currently active template from 000_config.py |
| 122 | |
| 123 | *Next, we parse the eden/private/templates/<current-template>/config.py to get the active modules of that template |
| 124 | |
| 125 | *So, only these modules will be checked by default (when showing the module selection page) |
| 126 | |
| 127 | *Hence, we know which modules correspond to the current template and this can be used to extract only the relevant strings. |