LonamiWebs / Stringlate

Android application to help in strings.xml translation
https://lonamiwebs.github.io/stringlate/index
MIT License
106 stars 48 forks source link

Sort by string length #41

Closed licaon-kter closed 7 years ago

licaon-kter commented 7 years ago

Did not see this elsewhere either, the idea is that since every little project can have lots of strings (eg. Stinglate has >110 OMFG!) it will get boring after a while, so it helps me seeing that I translated a lot of them. ;)

Having them sorted by length helps me get the shorter ones faster, keeping my interest strong. I already do this by just skipping long ones until they're the only ones left.

Lonami commented 7 years ago

it will get boring after a while

Yeah, I even thought of making Stringlate game-like but I don't know how a game of translating strings could look like… Some reward? Badges? Helped translating 10 applications! — Given to true collaborators.

Having them sorted by length helps me get the shorter ones faster, keeping my interest strong.

Sorting by length vs sorting alphabetically (the change isn't hard at all). But what will happen when only the long ones are left?: "Oh darn, 50 strings left… and every string will be as long or even longer than the previous one!"

licaon-kter commented 7 years ago

You have to translate them all! anyway, long or short, that does not make a difference. ;)

Lonami commented 7 years ago

anyway, long or short, that does not make a difference.

Conclusion then? The badges idea sounded fancy though!

licaon-kter commented 7 years ago

Did not answer the gamification thing because I don't care, better open another issue with that to see if anyone cares. :)

Lonami commented 7 years ago

Is this still relevant @licaon-kter or kinda solved since the progress bar is now weighted?

licaon-kter commented 7 years ago

I would still like it, if it's not hard, if you want etc.

Lonami commented 7 years ago

You know though. My first impression of this was that you only wanted sorting by string length instead alphabetically. But you really meant to have it as a setting, for people to choose. The later makes way more sense.

Edit: The fun part is that there were 5 other places where I needed to iterate over the strings and by default, sorting was done. Now no sorting is done, so some things should be (slightly) faster too.

licaon-kter commented 7 years ago

Thanks