Bug 842276

Summary: stat shows 0% for newly added locales
Product: [Retired] Zanata Reporter: Parag Nemade <pnemade>
Component: Component-UIAssignee: zanata-dev-internal <zanata-dev-internal>
Status: CLOSED WORKSFORME QA Contact: Ding-Yi Chen <dchen>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.6.1CC: aeng, sflaniga, zanata-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-02 22:53:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Parag Nemade 2012-07-23 10:32:23 UTC
Description of problem:
Today, Few new locales added in zanata server which relaxes the need to write locale mapping in zanata.xml file. But, when pushed po files for these locales, message statistics showing 0%.

Problematic locales: zh-CN, zh-TW, sr, ta, pt.

Version-Release number of selected component (if applicable):
zanata python client version: 1.3.8, zanata server API version: 1.6.0


How reproducible:
always

Steps to Reproduce:
1.zanata push --push-trans  --lang zh-CN --disable-ssl-cert
2. check server for stat of this file. Observe it as 0%
3. zanata pull --lang zh-CN

  
Actual results:
pushed and pulled files looks same but still statistics is not calculated.

Expected results:
fix to show correct stat for these locales.

Additional info:

Comment 1 Runa Bhattacharjee 2012-07-30 11:58:45 UTC
Assigning to Zanata Dev team for evaluation.

Comment 2 Sean Flanigan 2012-07-31 01:54:48 UTC
Stats currently look okay for https://translate.zanata.org/zanata/iteration/view/iok/f18-1

How soon after the upload did you check the stats?

Comment 3 Parag Nemade 2012-07-31 03:27:42 UTC
I was checking till next 1-2 days since my commit and I saw stat showing 0%. Just suspect will non-logged interface shows stale stat? in case I might have logged out and still checking the stats.

I tried to reproduce this but failed. So, looks push is working fine now.