Changes between Version 25 and Version 26 of BluePrint/Translation


Ignore:
Timestamp:
07/11/13 08:43:47 (8 years ago)
Author:
nownikhil
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BluePrint/Translation

    v25 v26  
    3535* 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:
    3636    * Use the prepop csv files in privates/templates/<current-template> and mark them to be considered for translation.
    37     * Provide a “Select all templates” option on the module selection page (similar to select all modules) to specify if all prepop files are to be considered. This option will be helpful when introducing new variables and discarding deprecated strings using the overwrite option as mentioned earlier.
    38 
     37    * Use S3BulkImporter to get list of csv files from tasks.cfg file in the template folder.
     38    * Use S3Represent to see which all csv files are to be considered for translation.
     39    * Only name field is being considered for translation, think of a framework on how to select relevant fields from a csv.
    3940     
    4041* Pootle Integration : We need to make sure that the translation in pootle is kept in sync with that in the “.py” languages file. Below are few points to help us achieve this :
     
    4243    * When merging from pootle, we might receive some conflicts ( just as through pull request). One possible solution is to create a script that identifies and stores all such conflicts in a file which can then be manually handled by translators.
    4344    * Also, an option for uploading ".po" files will be provided (apart from the current ".csv" files). The conflicts arising when merging this can be handled as mentioned before.
     45    * Also, upload the updated .po file back to the server.
    4446
    4547Hence, the translations in pootle and web2py will be consistent.