On Fri, Jun 29, 2012 at 2:00 PM, W. Brunette <wbrune
...@gmail.com> wrote:
> I *believe* the database should update to whatever the last value is
> so you don't have to explicitly remove the values from the DB, the
> user's last choice for language is saved until the user changes it
> again.
> Waylon
> On Fri, Jun 29, 2012 at 9:29 PM, Mitch S <mitchellsu...@gmail.com> wrote:
> > The first <translation> block within the <itext> block in the file is
> taken
> > to be the default language.
> > So if you have:
> > ...
> > <itext>
> > <translation lang="English">
> > ...
> > </translation>
> > <translation lang="Spanish">
> > ...
> > </translation>
> > </itext>
> > The default language is English. If you swap these so Spanish is first,
> it
> > will be spanish.
> > However, if you have already explicitly chosen the language for the form
> via
> > ODK Collect's UI, that language value is saved in the forms.db, and you'd
> > need to remove that value for it to pay attention to the order of the
> > <translation> blocks in your form. I don't think there is any UI
> mechanism
> > to do that -- you can use an SQLite tool to edit the forms.db and remove
> the
> > language value for your testing.
> > Mitch
> > On Fri, Jun 29, 2012 at 10:17 AM, Alex Pavluck <apavl...@gmail.com>
> wrote:
> >> Hello. If I have a file in two languages is there an easy way to change
> >> which is the default language?
> >> Thanks,
> >> Alex
> >> --
> >> Post: opendatakit@googlegroups.com
> >> Unsubscribe: opendatakit+unsubscribe@googlegroups.com
> >> Options: http://groups.google.com/group/opendatakit?hl=en
> > --
> > Mitch Sundt
> > Software Engineer
> > University of Washington
> > mitchellsu...@gmail.com
> > --
> > Post: opendatakit@googlegroups.com
> > Unsubscribe: opendatakit+unsubscribe@googlegroups.com
> > Options: http://groups.google.com/group/opendatakit?hl=en
> --
> Post: opendatakit@googlegroups.com
> Unsubscribe: opendatakit+unsubscribe@googlegroups.com
> Options: http://groups.google.com/group/opendatakit?hl=en