Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: #2397 Added System Language Option #2399

Conversation

SekhGulamMainuddin
Copy link
Contributor

@SekhGulamMainuddin SekhGulamMainuddin commented Oct 15, 2023

Fixes #2397

Video Recordings:
System Language Option Added

System.Language.Options.added.mp4

If System Language is Not Present then English is Default
Here I switched to Punjabi which is not supported by the App so it is showing English by Default.

If.System.Language.Not.Present.then.English.is.Default.mp4

@SekhGulamMainuddin SekhGulamMainuddin changed the title Fix: #2397 and #2398 Fixed Theme Issue and Added System Language Option Fix: #2397 and #2068 Fixed Theme Issue and Added System Language Option Oct 15, 2023
@SekhGulamMainuddin SekhGulamMainuddin force-pushed the fixThemeIssueAndAddedSystemLanguageSupport branch from 8f71af4 to 2204a80 Compare October 15, 2023 23:25
@SekhGulamMainuddin SekhGulamMainuddin changed the title Fix: #2397 and #2068 Fixed Theme Issue and Added System Language Option Fix: #2068 and #2397 Fixed Theme Issue and Added System Language Option Oct 15, 2023
@SekhGulamMainuddin SekhGulamMainuddin force-pushed the fixThemeIssueAndAddedSystemLanguageSupport branch from 2204a80 to ad5c434 Compare October 15, 2023 23:43
@SekhGulamMainuddin
Copy link
Contributor Author

@PratyushSingh07 can you please review my PR

@PratyushSingh07
Copy link
Collaborator

Any PR should solve a single issue. Are these two issues dependent on each other? If not then please segregate them

Copy link
Collaborator

@PratyushSingh07 PratyushSingh07 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please format your code before you push it here. You are inconsistent with the formatting

@@ -620,6 +622,7 @@
</string-array>

<string-array name="languages_value" translatable="false">
<item>System_Language</item>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we really need to add this option if we are changing the language dynamically? I mean the moment we set our mobile to follow a particular language it should be reflected in our app at that very instance.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, we need it because if we are dependent on the System's Language then having a System Language value will be helpful. And sometimes if the System's Language is not supported in our App then English is made as Default. I have attached the videos for it also on the top.

This is also similar to the app theme preference on System Theme, Dark Theme, and Light Theme.

@SekhGulamMainuddin SekhGulamMainuddin force-pushed the fixThemeIssueAndAddedSystemLanguageSupport branch from ad5c434 to 74d2b90 Compare October 16, 2023 08:06
@SekhGulamMainuddin
Copy link
Contributor Author

Please format your code before you push it here. Your are inconsistent with the formatting

@PratyushSingh07 Sorry for it. I formatted the code now and added the changes as you said. Please review it.

@SekhGulamMainuddin
Copy link
Contributor Author

SekhGulamMainuddin commented Oct 20, 2023

@PratyushSingh07 can you please re-review this?

@SekhGulamMainuddin SekhGulamMainuddin deleted the fixThemeIssueAndAddedSystemLanguageSupport branch October 22, 2023 07:58
@SekhGulamMainuddin SekhGulamMainuddin restored the fixThemeIssueAndAddedSystemLanguageSupport branch October 22, 2023 07:59
@SekhGulamMainuddin SekhGulamMainuddin changed the title Fix: #2068 and #2397 Fixed Theme Issue and Added System Language Option Fix: #2397 Added System Language Option Oct 22, 2023
@therajanmaurya therajanmaurya merged commit 1f01942 into openMF:development Feb 14, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

System Default Language option not present in Settings language dialog
3 participants