[zanata-bugs] [Bug 724847] New: Zanata server assumes source pot is en-US

bugzilla at redhat.com bugzilla at redhat.com
Fri Jul 22 01:00:23 UTC 2011


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.

Summary: Zanata server assumes source pot is en-US

https://bugzilla.redhat.com/show_bug.cgi?id=724847

           Summary: Zanata server assumes source pot is en-US
           Product: Zanata
           Version: unspecified
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: unspecified
          Priority: unspecified
         Component: Component-PythonClient
        AssignedTo: zanata-dev-internal at redhat.com
        ReportedBy: jwulf at redhat.com
         QAContact: dchen at redhat.com
                CC: zanata-bugs at redhat.com, zanata-dev-internal at redhat.com
   Estimated Hours: 0.0
    Classification: Community
      Story Points: ---
              Type: ---


When I push a bunch of po files to the server for a project, if I don't have
en-US set up as a language for the project, it fails.

The Zanata server assumes that the source lang for the pot is en-US.

If it's going to do that, then it should automatically add en-US to the
project.

If it's not going to automatically add en-US then it shouldn't assume en-US and
should ask me or require me to specify what the source language is.

It seems more consistent to either go all the way with the assumption or don't
assume. 

The error message is confusing because it tells me that en-US is not supported,
but I didn't specify en-US anywhere, nor does my pot specify en-US anywhere:


[jwulf at gaura po]$ zanata po push --import-po --srcdir .
Loading zanata/flies project config from from
/home/jwulf/Work/anaconda/anaconda/po/zanata.xml
Loading zanata/flies user config from /home/jwulf/.config/zanata.ini
zanata/flies server: http://flies-devel.englab.bne.redhat.com
zanata python client version: 1.2.4, zanata/flies server API version:
1.3.1-SNAPSHOT
Project: anaconda
Version: rhel6
Username: jwulf
Source language: en-US
Copy previous translations:True
Importing translation
Importing translation from .
PO directory (originals):.

Pushing the content of ./anaconda.pot to server:
error: Unsupported Locale: en-US within this context. Please contact Admin.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the zanata-bugs mailing list