• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 3.11.0
    • 3.4.0
    • Using Chrome with german language as default.
      Stash is configured to use english (gobal configuration).
      User profile is configured to use english as well.

      Sometimes the configured language in settings is not regarded. So my browser shows some components in german language instead of english.

        1. 2014-11-13_09h59_47.png
          2014-11-13_09h59_47.png
          86 kB
        2. 2014-12-17_09h15_54.png
          2014-12-17_09h15_54.png
          24 kB
        3. german_english_language_mixup.jpg
          german_english_language_mixup.jpg
          79 kB
        4. Screenshot 2015-02-25 17.12.30.png
          Screenshot 2015-02-25 17.12.30.png
          32 kB
        5. stash-japanese-3.9.2.png
          stash-japanese-3.9.2.png
          23 kB
        6. stash-talking-japanese.png
          stash-talking-japanese.png
          149 kB

          Form Name

            [BSERV-5490] Language sometimes not consistent

            bain added a comment -

            We were unable to reproduce this problem locally. However, we think we have tracked down the problem and it fixed it in 3.11.0. This issue can be re-opened there are any confirmed cases in 3.11.x or later.

            bain added a comment - We were unable to reproduce this problem locally. However, we think we have tracked down the problem and it fixed it in 3.11.0. This issue can be re-opened there are any confirmed cases in 3.11.x or later.

            Hi everyone,

            We have put together a list of things that you could capture that would help us debug this issue. These will be useful if you see it while using a version of Stash 3.9.1 or greater:

            1. Capture the entire page and its JS/CSS resources using your browser's "Save Page" function (Ctrl+S usually).
            2. Capture the source of the page as Stash sent it down, right click on the page and choose "View page source" and save that content. (This is because Save Page often rewrites URLs on the page.)
            3. The headers your browser is using to make requests (you can find these on this page http://pgl.yoyo.org/http/browser-headers.php)
            4. The language setting in your Stash user profile
            5. The default language setting for your Stash instance (you may have to ask your administrator for this information)

            You will need to do the first two steps without refreshing the broken page as when you refresh the page might become correct again.

            If you manage to capture this data can you raise a support ticket at https://support.atlassian.com so you can secuerly send it to us, please reference this ticket so its properly escalated.

            Thank you
            Scott.

            Scott Goodhew (Inactive) added a comment - - edited Hi everyone, We have put together a list of things that you could capture that would help us debug this issue. These will be useful if you see it while using a version of Stash 3.9.1 or greater: Capture the entire page and its JS/CSS resources using your browser's "Save Page" function (Ctrl+S usually). Capture the source of the page as Stash sent it down, right click on the page and choose "View page source" and save that content. (This is because Save Page often rewrites URLs on the page.) The headers your browser is using to make requests (you can find these on this page http://pgl.yoyo.org/http/browser-headers.php ) The language setting in your Stash user profile The default language setting for your Stash instance (you may have to ask your administrator for this information) You will need to do the first two steps without refreshing the broken page as when you refresh the page might become correct again. If you manage to capture this data can you raise a support ticket at https://support.atlassian.com so you can secuerly send it to us, please reference this ticket so its properly escalated. Thank you Scott.

            Robin Stocker (Inactive) added a comment - Another possible instance of this for Stash 3.8.0: https://answers.atlassian.com/questions/17437288/stash-3.8.0-mac-users-see-ui-language-randomly-change-to-german---has-anyone-heard-of-this

            AlexanderR added a comment -

            Hi,
            we are on 3.9.2 and still have this bug:

            AlexanderR added a comment - Hi, we are on 3.9.2 and still have this bug:

            Brent P added a comment -

            Hello everyone,

            We found a bug in the way the front end calculates the language that could have resulted in some problems. That bug has been fixed in Stash 3.9.1. Please let us know if you continue to see problems after upgrading to Stash 3.9.1.

            Thank you,

            – Brent

            Brent P added a comment - Hello everyone, We found a bug in the way the front end calculates the language that could have resulted in some problems. That bug has been fixed in Stash 3.9.1. Please let us know if you continue to see problems after upgrading to Stash 3.9.1. Thank you, – Brent

            When this happens for me a forced reload of the page reverts it to my chosen language.
            Also, I usually get pages in French and I know we have a lot of French users. I imagine there is some caching occurring somewhere from a previous user displaying the same page.

            Daniel Fairhurst added a comment - When this happens for me a forced reload of the page reverts it to my chosen language. Also, I usually get pages in French and I know we have a lot of French users. I imagine there is some caching occurring somewhere from a previous user displaying the same page.

            We are seeing this issue after upgrading to 3.8.0. We are not clustering yet, and the users are seeing the German language briefly.

            Randy McElroy added a comment - We are seeing this issue after upgrading to 3.8.0. We are not clustering yet, and the users are seeing the German language briefly.

            Go Hayama added a comment - - edited

            Hi guys,

            We just started experiencing this problem after upgrading our Stash from 3.2.5 to 3.7.0 about a week ago (we are single-server, not Stash Data Center).
            In our case, most of our users' computers have Japanese set at the OS and browser levels, but English set in Stash.
            What we're experiencing is that the English setting in Stash is sometimes being ignored and Stash is displaying Japanese (presumably due to either the OS or browser language setting).

            After receiving a user report of this issue, we were able to reproduce it ourselves and found that...

            • It is reproducible on both Chrome and Firefox
            • Setting our account preference to English in Stash, but the OS and browser to Japanese, results in English being displayed sometimes and Japanese displayed other times
              • If you keep pressing F5 to refresh a page in Stash, we found that sometimes it would display English and sometimes Japanese
            • Setting English higher than Japanese at the browser-level still resulted in Stash displaying Japanese sometimes
              • Perhaps it's looking at the OS setting? Or perhaps it had cached the browser language setting from when Japanese was higher?

            Note: We have Stash's global default set to "English (United States)" in the Administration area, so the only possible place Stash could be picking up the Japanese setting is from either the browser or OS.

            Since we can reliably reproduce this problem, please let us know if there's any data you need for your investigation.
            Thanks.

            Go Hayama added a comment - - edited Hi guys, We just started experiencing this problem after upgrading our Stash from 3.2.5 to 3.7.0 about a week ago (we are single-server, not Stash Data Center). In our case, most of our users' computers have Japanese set at the OS and browser levels, but English set in Stash. What we're experiencing is that the English setting in Stash is sometimes being ignored and Stash is displaying Japanese (presumably due to either the OS or browser language setting). After receiving a user report of this issue, we were able to reproduce it ourselves and found that... It is reproducible on both Chrome and Firefox Setting our account preference to English in Stash, but the OS and browser to Japanese, results in English being displayed sometimes and Japanese displayed other times If you keep pressing F5 to refresh a page in Stash, we found that sometimes it would display English and sometimes Japanese Setting English higher than Japanese at the browser-level still resulted in Stash displaying Japanese sometimes Perhaps it's looking at the OS setting? Or perhaps it had cached the browser language setting from when Japanese was higher? Note : We have Stash's global default set to "English (United States)" in the Administration area, so the only possible place Stash could be picking up the Japanese setting is from either the browser or OS. Since we can reliably reproduce this problem, please let us know if there's any data you need for your investigation. Thanks.

            jj added a comment -

            Yes you're right. We are using a single standalone Stash server (but connected to JIRA and Jenkins).

            jj added a comment - Yes you're right. We are using a single standalone Stash server (but connected to JIRA and Jenkins).

            Brent P added a comment -

            Thanks for the additional input Alex and Martin. We've been investigating this issue and have only been able to replicate easily on a clustered Stash Data Center instance. However, given that the issue was reported before Stash Data Center was released, I'm assuming nobody reporting this issue is running in a clustered environment (let me know if that's wrong).

            We'll keep trying to track this one down.

            Brent P added a comment - Thanks for the additional input Alex and Martin. We've been investigating this issue and have only been able to replicate easily on a clustered Stash Data Center instance. However, given that the issue was reported before Stash Data Center was released, I'm assuming nobody reporting this issue is running in a clustered environment (let me know if that's wrong). We'll keep trying to track this one down.

            To add some more details to Alex comment: users claim (no proof, no solid confirmation) that far east characters show up as shown in the image above when the commit is triggered by one of our Japanese or Chinese colleagues.

            Martin Bayreuther added a comment - To add some more details to Alex comment: users claim (no proof, no solid confirmation) that far east characters show up as shown in the image above when the commit is triggered by one of our Japanese or Chinese colleagues.

            AlexanderR added a comment -

            Hello everybody,

            we have the same bug but slightly different. Our users (in Germany and the US) are getting Japanese characters:

            Best,
            Alex

            AlexanderR added a comment - Hello everybody, we have the same bug but slightly different. Our users (in Germany and the US) are getting Japanese characters: Best, Alex

            We have this problem also if browser settings are also set to english.

            and the browser settings:

            Best, Robert

            Robert Rauchstaedt added a comment - We have this problem also if browser settings are also set to english. and the browser settings: Best, Robert

            jj added a comment -

            The default system language is German and i've attached a screenshot with the chrome language settings.

            jj added a comment - The default system language is German and i've attached a screenshot with the chrome language settings.

            Nick added a comment -

            jj1 thanks for the information. This is useful. However can you please also provide:

            • Your default system language
            • A screenshot of the list of language preferences set in Chrome ( chrome://settings/languages )

            Nick added a comment - jj1 thanks for the information. This is useful. However can you please also provide: Your default system language A screenshot of the list of language preferences set in Chrome ( chrome://settings/languages )

            jj added a comment - - edited

            Hi sgoodhew,
            here are the headers for a common request of the site. Pressing F5 does sometimes show the german version (every 5th time or so). This is not only valid for the commits page it is also a problem one other pages.
            I can not isolate the requests to ensure its only my computer requesting a page at the time of doing a request so it is possible that this is only a problem in a multi-user enviroment. Technically spoken maybe the users language configurations interfer with one another?

            Here is the actual request I made:
            Request Headers

            Remote Address: 172.16.32.xx:80
            Request URL:http://xxx/projects/xxx/repos/xxx/commits
            Request Method:GET
            Status Code:200 OK
            Request Headersview source
            Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
            Accept-Encoding:gzip, deflate, sdch
            Accept-Language:de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4
            Cache-Control:no-cache
            Connection:keep-alive
            Cookie:AJS.conglomerate.cookie=""; _atl_stash_remember_me=xxx; JSESSIONID=xxx; hazelcast.sessionId=xxx
            Host:xstash
            Pragma:no-cache
            User-Agent:Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 Safari/537.36

            Response Headers

            Cache-Control:no-cache, no-transform
            Content-Encoding:gzip
            Content-Language:de-DE
            Content-Type:text/html;charset=UTF-8
            Date:Wed, 03 Dec 2014 08:01:07 GMT
            Server:Apache-Coyote/1.1
            Transfer-Encoding:chunked
            Vary:Accept-Encoding
            X-AREQUESTID:@1AGPEHQx541x520742x0
            X-ASEN:SEN-3577824
            X-ASESSIONID:y0nfoo
            X-AUSERID:54
            X-AUSERNAME:jj
            X-Content-Type-Options:nosniff
            X-Frame-Options:SAMEORIGIN
            X-XSS-Protection:1; mode=block

            And then followed by a request for batch.js (the one time using en_US the other time using de_DE:

            Remote Address: 172.16.32.xxx:80
            Request URL:http://xxx/s/2926aaa860ecda731b12996767130742-CDN/de_DE/65b8fee/1/1/_/download/superbatch/js/batch.js?locale=de-DE
            Request Method:GET
            Status Code:200 OK
            Request Headersview source
            Accept:*/*
            Accept-Encoding:gzip, deflate, sdch
            Accept-Language:de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4
            Cache-Control:no-cache
            Connection:keep-alive
            Cookie:AJS.conglomerate.cookie=""; _atl_stash_remember_me=xxx; JSESSIONID=xxx; hazelcast.sessionId=xxx
            Host:xstash
            Pragma:no-cache
            Referer:http://xxx/projects/xxx/repos/xxx/commits
            User-Agent:Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 Safari/537.36
            *Query String Parameters*
            locale:de-DE

            jj added a comment - - edited Hi sgoodhew , here are the headers for a common request of the site. Pressing F5 does sometimes show the german version (every 5th time or so). This is not only valid for the commits page it is also a problem one other pages. I can not isolate the requests to ensure its only my computer requesting a page at the time of doing a request so it is possible that this is only a problem in a multi-user enviroment. Technically spoken maybe the users language configurations interfer with one another? Here is the actual request I made: Request Headers Remote Address: 172.16.32.xx:80 Request URL:http: //xxx/projects/xxx/repos/xxx/commits Request Method:GET Status Code:200 OK Request Headersview source Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 Accept-Encoding:gzip, deflate, sdch Accept-Language:de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4 Cache-Control:no-cache Connection:keep-alive Cookie:AJS.conglomerate.cookie=""; _atl_stash_remember_me=xxx; JSESSIONID=xxx; hazelcast.sessionId=xxx Host:xstash Pragma:no-cache User-Agent:Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 Safari/537.36 Response Headers Cache-Control:no-cache, no-transform Content-Encoding:gzip Content-Language:de-DE Content-Type:text/html;charset=UTF-8 Date:Wed, 03 Dec 2014 08:01:07 GMT Server:Apache-Coyote/1.1 Transfer-Encoding:chunked Vary:Accept-Encoding X-AREQUESTID:@1AGPEHQx541x520742x0 X-ASEN:SEN-3577824 X-ASESSIONID:y0nfoo X-AUSERID:54 X-AUSERNAME:jj X-Content-Type-Options:nosniff X-Frame-Options:SAMEORIGIN X-XSS-Protection:1; mode=block And then followed by a request for batch.js (the one time using en_US the other time using de_DE: Remote Address: 172.16.32.xxx:80 Request URL:http: //xxx/s/2926aaa860ecda731b12996767130742-CDN/de_DE/65b8fee/1/1/_/download/superbatch/js/batch.js?locale=de-DE Request Method:GET Status Code:200 OK Request Headersview source Accept:*/* Accept-Encoding:gzip, deflate, sdch Accept-Language:de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4 Cache-Control:no-cache Connection:keep-alive Cookie:AJS.conglomerate.cookie=""; _atl_stash_remember_me=xxx; JSESSIONID=xxx; hazelcast.sessionId=xxx Host:xstash Pragma:no-cache Referer:http: //xxx/projects/xxx/repos/xxx/commits User-Agent:Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 Safari/537.36 *Query String Parameters* locale:de-DE

            Hi jj1

            I'm having trouble reproducing this, can you give us a couple more details on your setup.

            • Your computer OS
            • Your default system language
            • A screenshot of the list of language preferences set in Chrome ( chrome://settings/languages )

            Thanks,
            Scott

            Scott Goodhew (Inactive) added a comment - Hi jj1 I'm having trouble reproducing this, can you give us a couple more details on your setup. Your computer OS Your default system language A screenshot of the list of language preferences set in Chrome ( chrome://settings/languages ) Thanks, Scott

              bbain bain
              9640a0c0a3ae jj
              Affected customers:
              19 This affects my team
              Watchers:
              27 Start watching this issue

                Created:
                Updated:
                Resolved: