Translation of consent forms

36 views
Skip to first unread message

Michał Szczuryk vel Szczerba

unread,
May 5, 2020, 11:49:32 AM5/5/20
to ResearchStack
Hello! I am a medical student and I am only now learning android development as a hobby. Working with ResearchStack has been a good experience so far.

I want to translate the consent forms and other stuff to my language (polish). I see there is a file values.xml containing most strings that are displayed to the user. 
How should I go about translating it? 

I am using android studio and gradle, so the actual files are only saved in cache (.gradle\caches\transforms-2\files-2.1\f08d0530f509e9b94ed3b1fa3da944ef\jetified-backbone-1.1.2\res\values\values.xml)
I tried creating my own local folder res/values-pl.xml in my package files and translating the strings there. That doesn't work, as the original values.xml file is not a part of my package, so gradle doesn't see the base(default) values for those fields and throws errors everywhere.
Should I just hard-download the backbone library and make a translation file inside of it? I can't find any clues as to how can I translate a library. 
Of course when I do that i can upload it somewhere so more people can use the translated version.

I realize this is a kind of basic problem but i figured i'd ask here anyway to keep the forum alive, as I like the initiative.



Other issues I had that took me WAY too long to figure out was for example that my appTheme must inherit from Theme.Backbone (or at least that was the solution to the actionBar problems I encountered when it was inheriting from another theme with an actionbar). Second one is issue with deprecated VisualStep.setNextButtonString : if i don't use it, the "next" button is just invisible!

But those are mainly because it's the first app I'm writing so I kinda don't know what i'm doing. I created my own Step subclass and it works (phew!) so I'm quite proud! 

Cheers 

Reply all
Reply to author
Forward
0 new messages