Hey,
I tried using both the options mentioned here, but I couldn't see any
localized values folder being generated in my project. Can you tell me how
this works or am I missing something?
Thanks,
Chinmay
On Thursday, 10 April 2014 17:14:17 UTC-7, Xavier Ducrohet wrote:
>
> android.applicationVariants.all { variant ->
> if (variant.buildType.isDebuggable()) {
> variant.mergedFlavor().addResourceConfiguration("zz_ZZ")
> }
> }
>
> This should do it.
>
>
> On Thu, Apr 10, 2014 at 4:11 PM, Daniel Lew <[email protected]
> <javascript:>> wrote:
>
>> Aha, I've found the answer to my question. You can use "resConfig" in
>> defaultConfig or product flavors.
>>
>> Still, there doesn't seem to be a way to only use resConfig in debug
>> builds (as it's a build type and not a product flavor). Oh well, I guess
>> including accented versions of the language files isn't the worst thing. :P
>>
>> -Daniel
>>
>>
>> On Thursday, April 10, 2014 2:23:01 PM UTC-5, Daniel Lew wrote:
>>>
>>> Hello,
>>> I was looking into pseudo-localization for testing. There is an "aapt
>>> -c zz_ZZ" which I'm led to believe should automatically pseudo-localize the
>>> app: http://elinux.org/Android_aapt
>>>
>>> However, I'm not sure how to customize the command-line options of aapt
>>> in gradle. I've seen aaptOptions in build.gradle but only examples of the
>>> two fields "noCompress" and "ignoreAssetsPattern".
>>>
>>> Is there an undocumented option to pseudo-localize? Bonus points if
>>> this is only done on debug builds...
>>>
>>> -Daniel
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "adt-dev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Xavier Ducrohet
> Android SDK Tech Lead
> Google Inc.
> http://developer.android.com | http://tools.android.com
>
> Please do not send me questions directly. Thanks!
>
--
You received this message because you are subscribed to the Google Groups
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.