Skip to content

[FIX] App crashing when switching to Hindi (hi-In) language#28285

Merged
kodiakhq[bot] merged 6 commits into
RocketChat:developfrom
bhardwajdisha:issue#28280
Mar 10, 2023
Merged

[FIX] App crashing when switching to Hindi (hi-In) language#28285
kodiakhq[bot] merged 6 commits into
RocketChat:developfrom
bhardwajdisha:issue#28280

Conversation

@bhardwajdisha

Copy link
Copy Markdown
Contributor

Proposed changes (including videos or screenshots)

Fixed app crashing when switching to Hindi (hi-in) language
The bug was mainly caused by a mismatch in file names between the language library used and the one used in the project. The language library used a key of 'hi', while the project used 'hi-in', resulting in the problem.

For solving this issue
Renamed file 'hi-IN.i18n.json' to 'hi.i18n.json' and checked it on my local environment and it works fine. Please review this.

Rocket.chat.issue.mp4

Issue(s)

closes #28280

Steps to test or reproduce

  1. .../admin/settings/General
  2. Change language to हिंदी
  3. Save changes

Further comments

@bhardwajdisha

Copy link
Copy Markdown
Contributor Author

@dudanogueira & @dougfabris can you please review this

@hugocostadev hugocostadev self-assigned this Mar 6, 2023
@hugocostadev hugocostadev added this to the 6.1.0 milestone Mar 6, 2023
@hugocostadev

Copy link
Copy Markdown
Contributor

Thank you for your contribution 👏

@bhardwajdisha

Copy link
Copy Markdown
Contributor Author

@hugocostadev , I think some error occurred during testing, Can you please review this again?

@hugocostadev hugocostadev added the stat: ready to merge PR tested and approved waiting for merge label Mar 10, 2023
@codecov

codecov Bot commented Mar 10, 2023

Copy link
Copy Markdown

Codecov Report

Merging #28285 (8193c37) into develop (35fadd0) will decrease coverage by 0.06%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop   #28285      +/-   ##
===========================================
- Coverage    45.25%   45.20%   -0.06%     
===========================================
  Files          759      759              
  Lines        14784    14784              
  Branches      2085     2085              
===========================================
- Hits          6691     6683       -8     
- Misses        7798     7805       +7     
- Partials       295      296       +1     
Flag Coverage Δ
e2e 45.16% <ø> (-0.07%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

@kodiakhq kodiakhq Bot merged commit 67ba590 into RocketChat:develop Mar 10, 2023
gabriellsh added a commit that referenced this pull request Mar 13, 2023
…ketChat/Rocket.Chat into matrixSearchTestBranch

* 'feat/federation-public-room-search-2' of github.com:RocketChat/Rocket.Chat: (42 commits)
  refactor: Replace `_.isObject` with `isObject` (#28376)
  fix: small tweaks
  chore: Remove old css (#28140)
  fix: Thread list not scrolling to bottom when sending a message. (#28346)
  refactor: Federation refactor towards services + file names improvement + E2E tests fixes (#28326)
  i18n: Language update from LingoHub 🤖 on 2023-03-10Z (#28365)
  refactor: Improve sidebar search list hook (#28328)
  Chore: Change the PR title check to use conventional commits (#28358)
  [IMPROVE] Galician onboarding translation (#27908)
  [IMPROVE] Adding input type=password to AWS secrets fields (#28159)
  [FIX] Normal and multiline messages adding extra spaces upon copying/pasting (#28187)
  Chore: remove unused prop in register workspace modal (#28317)
  [FIX] App crashing when switching to Hindi (hi-In) language (#28285)
  [NEW] Registered Loom oEmbed (#28339)
  fix: create dm users before join the room
  tests: add unit tests + small tweaks
  fix: fix invite links button logic
  chore: fix lint
  Chore: Remove/replace some Meteor packages (#28189)
  Chore: Unused/dead code removal (#28155)
  ...
@casalsgh casalsgh modified the milestones: 6.1.0, 6.2.0 Apr 12, 2023
@sampaiodiego sampaiodiego mentioned this pull request May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stat: ready to merge PR tested and approved waiting for merge type: bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

App Crashing when switching to Hindi (hi-In) language

3 participants