Apps-android-commons: Can't change language.

Created on 17 Jan 2020  路  15Comments  路  Source: commons-app/apps-android-commons

Summary:

I'm going to settings and there is only an option for changing the default description language.
The default app description is been set by the device's default language and cannot be changed.

Steps to reproduce:

We should add an option where user could also choose for the default app language.
So after the User choose an other language , the program should re-choose the right resource bundle and re-load the program's default String Values .

Would you like to work on the issue?

I want to give it a try. I'm new in contribution, actually this would be my first, and i would need help in solving it and sure some directions.
e.x. In which Class should i contribute? , should i reload the hole program or i could change the string values one by one ?.....

enhancement

Most helpful comment

Thank you for your understanding, @6point022 . :) We will leave the discussion open for now, but even if we decide to close your PR, I will make a note on it that the PR was a good one and adheres to our code quality requirements, and that we couldn't merge it for reasons unrelated to code. So you can mention it on your GSoC application etc either way.

All 15 comments

@nicolas-raoul Can I work on this issue? I have identified the code which is causing this and would like to get someone's go-ahead to start working.

Hi @6point022 , this seems like a new feature request, more than a bug report.

@neslihanturan Sorry! I misunderstood that feature. It actually changes the default language which the user will type the description in. And it seems to be working fine. I thought it included seeing descriptions only in that language. Not sure if I was being stupid or it could be more clear. 馃し鈥嶁檪

No worries @6point022 , there is a confusion between language of the description and language of the app:) Would you still be interested to work on this feature, ie. adding a new setting to change app language, default setting should be phone local as we do now.

Would you still be interested to work on this feature, ie. adding a new setting to change app language, default setting should be phone local as we do now.

@neslihanturan I would love to work on this! After going through the code, I have finally got some idea of how to begin. If possible, please assign this issue to me. Thanks!

Excuse me for chiming in. IIUC, this change is to add a new setting to the app that would allow the user to switch the interface language independent of the device language. Is that correct? I was just wondering, in what case would a user want to set an interface language for the app different from that of the system language? :thinking:

@sivaraam This stackexchange question discusses some interesting cases when we may want to provide an explicit option to the user and not listen for the language of the system. I guess it depends on the type of app and can be useful at times. Moreover, some people may prefer navigating the phone in English, because they are more comfortable with the English labels like "Gallery" and "Contacts", but may want to stick to their native language for other/new apps they use.

This stackexchange question discusses some interesting cases when we may want to provide an explicit option to the user and not listen for the language of the system.

That's an interesting link. Thanks!

I guess it depends on the type of app and can be useful at times.

I get that. I was just curious to know how this option would benefit the users of the Commons Android app. The app already changes the interface language according to the system language if a translation is available. I was of the opinion that that behaviour was good enough for the app. I couldn't see how an option to switch the interface language independent of the device language would be beneficial to the user of the Commons app.

I don't think our app needs this setting more than any other app.
This makes settings (and our codebase) a bit more complex, without a strong reason.
(sorry for joining late, I thought I had posted this a few weeks ago already)

I agree that it will add undue complexity to our codebase and it would be a big overhead to ensure that it works perfectly.

As the PR for this issue is already up ie. #3399, I am tagging @misaochan and @neslihanturan to check what are their opinions on this.

I agree that it adds unnecessary complexity. I don't see a common or compelling reason why a user would want to have just our app in a different language from their device. Would anyone else like to chime in on this?

The PR that is already up does seem to be a pity - it looks like a well-written PR that would have taken a lot of time to do. On the other hand, this is also clearly an "enhancement" issue and not a "bug", and it was not tagged "good first issue". As per #3363 and https://github.com/commons-app/apps-android-commons/wiki/Volunteers-welcome%21 , it doesn't fit the criteria for PR submission from a new contributor.

The PR that is already up does seem to be a pity - it looks like a well-written PR that would have taken a lot of time to do.

Yes, but I did learn a lot doing it, and I believe that's what matters the most. 馃槃

it doesn't fit the criteria for PR submission from a new contributor.

I have created some other issues and hope to work on them to get started. 馃槂

Thank you for your understanding, @6point022 . :) We will leave the discussion open for now, but even if we decide to close your PR, I will make a note on it that the PR was a good one and adheres to our code quality requirements, and that we couldn't merge it for reasons unrelated to code. So you can mention it on your GSoC application etc either way.

Sorry @6point022 , that I mis-guided you about this feature can be a good idea (I actually considered it as a good idea). Still your efforts will be considered during GSoC application. Please don't feel demotivated :purple_heart:

If everyone is OK with it, I will close this issue?

Was this page helpful?
0 / 5 - 0 ratings