Open GoogleCodeExporter opened 8 years ago
This is still happening with the 8.1.0 Google Play Services library, and the
1.4.0-beta3 dependency. I had to suppress it with
buildTypes { release { lintOptions { disable 'MissingTranslation } } }
in the app build.gradle.
Original comment by hikarite...@gmail.com
on 2 Oct 2015 at 3:11
Another way to work it around is to add
<string name="gcm_defaultSenderId"><YOUR_SENDERID></string>
to all languages except the default. This way you don't have to disable the
'MissingTranslation' lint. Credits: http://stackoverflow.com/a/32905586/952135
Original comment by viliam.d...@kios.sk
on 15 Oct 2015 at 4:54
Still happening with the 1.5.0-beta1 version. It is not a good solution to
disable the lint-tests.
Original comment by nilsmag...@gmail.com
on 4 Nov 2015 at 11:25
This issue should be fixed with 8.3.0 Google Play Services and 1.5.0-beta2
dependency.
Original comment by zhangxio...@gmail.com
on 6 Nov 2015 at 3:59
Still happening under 1.5.0-beta2, gms-8.3.0
Original comment by bski...@gmail.com
on 10 Nov 2015 at 1:43
This is fixed for defaultSenderId, but someone forgot about google_app_id;
Please fix it for it too(1.5.0-beta2, gms-8.3.0)
Original comment by apollo2t...@gmail.com
on 18 Nov 2015 at 11:18
Looks like all the string resource should be marked as non-translatable.
Original comment by zhangxio...@gmail.com
on 18 Nov 2015 at 3:47
google app id and ga_trackingID in the generated values.xml still have these
errors
Original comment by zekam...@gmail.com
on 19 Nov 2015 at 4:23
Just add translatable="false" like here:
<string name="gcm_defaultSenderId" translatable="false">
Original comment by zekam...@gmail.com
on 19 Nov 2015 at 4:31
Ad #9: the file is generated, the edit will be overwritten after project clean
or so.
Original comment by viliam.d...@kios.sk
on 19 Nov 2015 at 4:40
My workaround for this is to add the string to the strings.xml of all languages
except the default (English) one.
As long as that string is static, it works...
Original comment by jochen.m...@daimler.com
on 19 Nov 2015 at 4:45
#10, i know, im just saying that this is an easy fix, not more that 5-10
minutes, why it is still not fixed by the google guys
Original comment by zekam...@gmail.com
on 20 Nov 2015 at 10:34
Here is my lint.xml. Good luck!
<lint>
<issue id="MissingTranslation">
<ignore regexp="ga_trackingId"/>
<ignore regexp="gcm_defaultSenderId"/>
</issue>
</lint>
Original comment by skyi...@gmail.com
on 21 Nov 2015 at 6:03
Original issue reported on code.google.com by
aaa...@gmail.com
on 11 Sep 2015 at 7:57