Summary

Asked by Display Name

Description

Question information

Language:
English Edit question
Status:
Answered
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
William Grant (wgrant) said :
#1

Custom language codes only affect the *importer*'s guess about the language to which a PO filename refers. Bazaar translation exports calculate the path like this:

                base_path = os.path.dirname(pofile.potemplate.path)
                language_code = pofile.getFullLanguageCode()
                pofile_path = os.path.join(
                    base_path, language_code + '.po')

So there's no way to override the exported filename.

Can you help with this problem?

Provide an answer of your own, or ask Display Name for more information if necessary.

To post a message you must log in.