Stringlate icon indicating copy to clipboard operation
Stringlate copied to clipboard

Installed apps current locale available status

Open licaon-kter opened this issue 9 years ago • 10 comments

Can this be detected? If so, it would be nice to signal if available or not, say below the checkmark: "XX" if available or "Add XX" if not ( where XX is current locale)

/LE: Detection using resources available locally that is.

licaon-kter avatar Dec 28 '16 15:12 licaon-kter

Can this be detected?

Don't think so. The idea was good though, but I'm not going to dig into root access and do some fancy stuff over the .apk files only to see the locales it's available.

If anyone is up to look at how this could be done, well, help is appreciated.

Lonami avatar Dec 28 '16 15:12 Lonami

Root is an exceptional thing, yeah don't bother then.

licaon-kter avatar Dec 28 '16 15:12 licaon-kter

You don't need root to access the apk, don't you (only if paid on Play Store)?

CrimsonFork avatar Dec 29 '16 00:12 CrimsonFork

You don't need root to access the apk

You are right on that now that I think about it, APKShare doesn't need root. But still, I would need to extract the package somewhere and then scan it looking for the strings. It would be nice there was a way to simply tell the locales, but copying the .apk somewhere, extracting it and scanning it, is not quite fast.

Lonami avatar Dec 29 '16 07:12 Lonami

That could be displayed in the "discover repository" thing, don't you think?

mquinson avatar Jul 14 '17 20:07 mquinson

Yeah @mquinson the idea was to show a text on the same "application" item on the discover repositories thing, but the problem is I don't know how to check which locales are available in the first place :/

Lonami avatar Jul 15 '17 08:07 Lonami

Wouldn't it possible to make it a configuration item? As a user, that would definitely do the job.

mquinson avatar Jul 15 '17 08:07 mquinson

Sorry? Configuration item?

Lonami avatar Jul 15 '17 08:07 Lonami

Ok, sorry for my misunderstanding. I see 2 possible meaning of what you've said earlier:

(1) It is hard to find out which local the current user is prefering so you don't know what to display. In this case, just add a configuration item so that the user can tell you which local to use.

(2) It is hard to find out the current level of translation in each application of the list. In this case, the easiest is probably to do a partial checkout of the git tree, to find it out. I suspect that this is easier than messing with the apk file, but still not trivial.

mquinson avatar Jul 15 '17 09:07 mquinson

  1. First use system default, then allow him to change it.
  2. No, the idea is, since it's installed, I should have access to its resources, and so I should be able to tell which language is translated and which isn't, and simply show "this installed application you have doesn't have the locale you're using" or similar.

Lonami avatar Jul 15 '17 10:07 Lonami