Please update scripts for translations:
After adding some services in not last Cocos version, I see in file proj.android\app\res\values\strings.xml
:
<resources>
<string name="app_name">Name</string>
<string name="facebook_app_id">123456789012345</string>
<string name="fb_login_protocol_scheme">fb123456789012345</string>
<string name="google_app_id">123456789012</string>
<string name="server_client_id">123456789012-o5qcdf1234567mdji4cs4hah55db80cf.apps.googleusercontent.com</string>
<string name="service_id">com.sdkbox.hugo.test.dar.nearby</string>
</resources>
When I try to add translations with file proj.android\app\res\values-ru\strings.xml
<resources>
<string name="app_name">Name in ru language</string>
</resources>
I get an error; to avoid it, the main=default proj.android\app\res\values\strings.xml
should have additional text translatable="false"
, like this:
<resources>
<string name="app_name">Name</string>
<string name="facebook_app_id" translatable="false">123456789012345</string>
<string name="fb_login_protocol_scheme" translatable="false">fb123456789012345</string>
<string name="google_app_id" translatable="false">123456789012</string>
<string name="server_client_id" translatable="false">123456789012-o5qcdf1234567mdji4cs4hah55db80cf.apps.googleusercontent.com</string>
<string name="service_id" translatable="false">com.sdkbox.hugo.test.dar.nearby</string>
</resources>
I think it should be impoved.