[guardian-dev] letting users choose their language per-app

Hans-Christoph Steiner hans at guardianproject.info
Mon Nov 24 08:23:09 EST 2014


Hey Dominik,

So we have code to do this in a few apps now, but no library yet.  It is in
Orbot, Courier/SecureReader, ChatSecure, and perhaps others.  I just committed
work to ChatSecure to make the language list be based on the languages that
are actually included in the APK.

.hc


Dominik Schuermann:
> Hey,
> 
> I would also be interested in something reusable to let the user
> select the app language.
> I once collected some links here:
> https://github.com/open-keychain/open-keychain/issues/215
> But if you have some reusable code, maybe we can put it in a library
> providing a LanguagePreferenceSpinner or something like that.
> 
> Regards
> Dominik
> 
> On 11/21/2014 03:03 PM, Nathan of Guardian wrote:
>> Check tbe securereader repo. However, i think that app is a small
>> static list and not dynamic. Orbot also has code for this in the
>> setup wizard.
> 
>> On Fri, Nov 21, 2014, at 06:53 AM, Hans-Christoph Steiner wrote:
>>>
>>> I'm in the process of improving the "Languages" preference in
>>> ChatSecure to get the language name from the system (instead of
>>> from manually defined strings) and to dynamically generate the
>>> list of languages.  This feature was quite useful for people I
>>> trained who had Ukrainian or Belorusian devices, since they could
>>> choose Russian over English for ChatSecure, which currently lacks
>>> Ukrainian or Belorusian translations.
>>>
>>> Carrie said in the last scrum that Idaho is exposing this up
>>> front.  I'd like to avoid duplicating efforts.  Where can I see
>>> the Idaho code for this? I'm pretty close to having this thing
>>> easily reusable so we can easily add this preference to all of
>>> our apps.
>>>
>>> .hc
>>>
>>> -- PGP fingerprint: 5E61 C878 0F86 295C E17D  8677 9F0F E587 374B
>>> BE81
>>>
>>>
>>> _______________________________________________ Guardian-dev
>>> mailing list
>>>
>>> Post: Guardian-dev at lists.mayfirst.org List info:
>>> https://lists.mayfirst.org/mailman/listinfo/guardian-dev
>>>
>>> To Unsubscribe Send email to:
>>> Guardian-dev-unsubscribe at lists.mayfirst.org Or visit: 
>>> https://lists.mayfirst.org/mailman/options/guardian-dev/nathan%40guardianproject.info
>>>
>>>
>>>
> You are subscribed as: nathan at guardianproject.info
> 
> 
> _______________________________________________
> Guardian-dev mailing list
> 
> Post: Guardian-dev at lists.mayfirst.org
> List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev
> 
> To Unsubscribe
>         Send email to:  Guardian-dev-unsubscribe at lists.mayfirst.org
>         Or visit: https://lists.mayfirst.org/mailman/options/guardian-dev/hans%40guardianproject.info
> 
> You are subscribed as: hans at guardianproject.info
> 

-- 
PGP fingerprint: 5E61 C878 0F86 295C E17D  8677 9F0F E587 374B BE81

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mayfirst.org/pipermail/guardian-dev/attachments/20141124/c3ee1d5c/attachment.sig>


More information about the Guardian-dev mailing list