Not only can you experience AnswerHub firsthand, but you can also ask and explore questions and answers about AnswerHub.
To get started, try typing a question in the search bar. If your question hasn't been asked, try posting a new question.
If you are a current customer, please use the Customer Success portal instead of this communtiy.
Answer by curiousleo · Jul 31, 2011 at 09:47 AM
`[python: **.py] [django: **/templates/**.*]`3. Make sure you are in the `mylocale` directory, then create the translation template `django.pot` by running
`pybabel extract -F babel.cfg -o django.pot` *`path-of-your-svn-checkout`*4. Start PoEdit and create a new catalog from the template (`File > New catalog from POT file...`). 5. Fill in the catalog details under the `Project info` tab. `Language` is necessary, `Country` should probably be left empty. There is no need to fill in anything under `Paths` or `Keywords`. Save the file as `django-`*`languagecode`*`.po`, e.g. `django-de.po`. 6. Check out the PoEdit Help (`Help > Contents... > Translation Memory`) for instructions to set up the automatic translation. ### But what if there's an update? ### No prob: - Your own translation is not in the SVN tree, and will therefore not be overwritten when you `svn up`. - Simply recreate the `django.pot` file (Step 3 above), then update your `.po` file using PoEdit: `Catalog > Update from POT file...` ### Tips ### Use a version control system for your translation files. That way, even if you accidentally overwrite it, you can just revert to your old version and be happy. : http://wiki.osqa.net/display/docs/Downloading+OSQA#DownloadingOSQA-HowtoDownloadusingSVN : http://babel.edgewall.org/ : http://babel.edgewall.org/wiki/BabelDjango : http://www.poedit.net/ : http://www.gabsoftware.com/tips/a-guide-for-wordpress-plugins-translators-gettext-poedit-locale/ : http://babel.edgewall.org/wiki/BabelDjango
Answer by wwwclaes · Apr 10, 2012 at 06:58 AM