Setting `Japanese` as a preferred language, No contents was shown in the dashboard

Setting all other languages works as expected

3 answers

Hi @Masashi Fujita,

Looks like we've got a broken translation. We are tracking this here https://jira.atlassian.com/browse/BSERV-9226.

In the interest of getting it fixed ASAP, I was wondering if you could give us a hand with it? It would help if you understand how Choice Format works.

The English translation is 

You have {0} pull {0,choice,1#request|1<requests} that {0,choice,1#has|1<have} been merged or declined in the last 7 days

This can produce 

You have 1 pull request that has been merged or declined in the last 7 days

and

You have 2 pull requests that have been merged or declined in the last 7 days

for 1+ closed pull requests. 

The Japanese translation that we have is 

あなたの {0} 個のプル {0,choice,1\#リクエスト|1<リクエスト} が {0,choice,1\#|1<} この7日間にマージまたは拒否されています。

We think there are 2 problems with it. 

  1. The first choice format block seems to be redundant as both 1 and 1+ produce the same output. I think the start of the line should just be あなたの {0} 個のプルリクエスト

  2. The second choice format block ({0,choice,1\#|1<}) is broken because it doesn't have any values supplied. I suspect that's because it's not needed in Japanese?

My guess at what the translation should be is 

あなたの {0} 個のプルリクエスト この7日間にマージまたは拒否されています。

Can you confirm that the translation makes sense and works for both of the use cases (1 and 1+) described in English above?

Thank you very much for your help if you are able

あなたの {0} 個のプルリクエストが、この7日間にマージまたは拒否されています。

above is better than the original, I think.

 

0 votes

Hi @Masashi Fujita,

Thanks for catching this so quickly!

This is now fixed in Bitbucket Server 4.10.1.

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

675 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot