cliambrown / PillTime

8 stars 0 forks source link

Translatable #1

Open mondlicht-und-sterne opened 5 months ago

mondlicht-und-sterne commented 5 months ago

Is this app translatable ?

cliambrown commented 5 months ago

@mondlicht-und-sterne Yes, it could be translated. All of the text is in strings.xml, so someone could just create a copy of that file for each new language.

https://developer.android.com/guide/topics/resources/localization

mondlicht-und-sterne commented 5 months ago

@cliambrown

Thank you, then I can translate it into German. However, as I cannot do this pull request, I am attaching the translated file.

cliambrown commented 5 months ago

@mondlicht-und-sterne Thank you! Unfortunately I don't see a file attached to your message.

mondlicht-und-sterne commented 5 months ago

@cliambrown

Yes, I know, I didn't quite finish - only up to almost 98 %. Maybe I had another question yesterday and then fell asleep...

mondlicht-und-sterne commented 5 months ago

@cliambrown

19 on 23 at

I have one more question: What is meant by ‘on’ and ‘at’ in these 2 strings?

cliambrown commented 5 months ago

@mondlicht-und-sterne Here is an example sentence: Dose expires on DD/MM/YYYY at HH:MM

I've added a couple of comments to strings.xml in case that helps.

cliambrown commented 5 months ago

@mondlicht-und-sterne No pressure at all, but I just remembered that for the app to show up for German-speaking users, I would also need to supply translations of short_description.txt and full_description.txt as well.