brackets-archive / bracketsIssues

Archive of issues in brackets.
0 stars 0 forks source link

MAC [FR]: event.language is being logged as fr-IN in Brackets devtools #14217

Open core-ai-bot opened 3 years ago

core-ai-bot commented 3 years ago

Issue by RuchiAgrawalAdobe Wednesday May 30, 2018 at 09:04 GMT Originally opened as https://github.com/adobe/brackets/issues/14370


Test device: Mac 10.13

Set Up details:

A. Install latest Brackets build from: http://sjstore.corp.adobe.com/builds03/brackets/master/1.13.0-17679/linux/

B. Point to Stage: a. Open config.json file present in "www" folder in installed location of Brackets b. Overwrite values of analyticsDataServerURL and environment with below -"analyticsDataServerURL": "https://cc-api-data-stage.adobe.io/ingest/", -"environment": "stage", c. Save and Close the config file

Steps to Reproduce

  1. Launch Brackets.
  2. Execute a few scenarios for which you want to verifiy the logging.
  3. Go to Debug -> Show Developer Tools.
  4. Click on “Network”.
  5. Check “preserve log” checkbox and type “ingest” in the text box.
  6. Hit F5 to refresh.
  7. Check the ingest entry whose Type is "xhr"
  8. In the "Headers" tab that opens up, scroll down to "Request Payload"
  9. Keep expanding until you get the "data" dropdown
  10. Observe the event.language.

Actual behavior: event.language is being logged as fr-IN

Expected behavior: event.language should be logged as fr-FR

event_language

core-ai-bot commented 3 years ago

Comment by vickramdhawal Tuesday Jun 05, 2018 at 10:48 GMT


@RuchiAgrawalAdobe Can we verify this bug on a fresh VM with OS installation itself in french ? That will help us prioritise accordingly.

core-ai-bot commented 3 years ago

Comment by RuchiAgrawalAdobe Tuesday Jun 05, 2018 at 13:54 GMT


@Zhanxin - Could you please try this?

core-ai-bot commented 3 years ago

Comment by ayushrathi15 Tuesday Jun 12, 2018 at 09:42 GMT


@RuchiAgrawalAdobe@Zhanxin Did you get a chance to look at this issue?

core-ai-bot commented 3 years ago

Comment by Zhanxin Tuesday Jun 12, 2018 at 10:12 GMT


We just checked this again on build 1.13.17693, the value of the event.language would follow the system preferences setting for the language and region code. On MAC, if the language select Fr, but region select India, the value of the event.language would be fr-IN, if region select Fr, it would be fr-FR, please refer below screenshots: fr_in fr_fr en_fr