Notice language for a new borrower via staff interface defaults to language of the staff interface user. In the OPAC self registration does not list the field and the value will be set to the database default called ... 'default'. Would be nice if we could make that more consistent.
It seems also that on 22.11 the new borrower's (being added via staff interface) language is set to "default" by default and does not follow the selected intranet language selection anymore. Maybe a syspref (TranslateNoticesDefaultValue or something) that allows you to choose a language from the installed languages for the "default" value would be useful (requires TranslateNotices to be set to "Allow" to apply). If the default language for the new notices language syspref was not set, then the value "default" would be used?
(In reply to Lari Strand from comment #1) > It seems also that on 22.11 the new borrower's (being added via staff > interface) language is set to "default" by default and does not follow the > selected intranet language selection anymore. > > Maybe a syspref (TranslateNoticesDefaultValue or something) that allows you > to choose a language from the installed languages for the "default" value > would be useful (requires TranslateNotices to be set to "Allow" to apply). > If the default language for the new notices language syspref was not set, > then the value "default" would be used? Hi Lari and Marcel, I believe 'default' for a user added from the staff interface is correct and it also used to work like that. We rely on the user to pick a language and if we want to pre-select, it would only make sense for the OPAC. The staff user's preference and the user's preference don't necessarily have to be a match.I can think of some cases where this would have led to wrong settings in our libraries. I remember we had some problems with langauge/lang variable clashes on the borrowers pages in staff, could this be related?
In other words... I believe this is a bug.
(In reply to Marcel de Rooy from comment #0) > Notice language for a new borrower via staff interface defaults to language > of the staff interface user. > In the OPAC self registration does not list the field and the value will be > set to the database default called ... 'default'. > > Would be nice if we could make that more consistent. I can't reproduce this on master: * TranslateNotices off: Add a new patron. lang = default * TranslateNotices on: Add a new patron. lang = default * TranslateNotices on, staff user set to fr-FR. Add new patron. lang = default Which version did you test with?
(In reply to Katrin Fischer from comment #4) > (In reply to Marcel de Rooy from comment #0) > > Notice language for a new borrower via staff interface defaults to language > > of the staff interface user. > > In the OPAC self registration does not list the field and the value will be > > set to the database default called ... 'default'. > > > > Would be nice if we could make that more consistent. > > I can't reproduce this on master: > > * TranslateNotices off: Add a new patron. lang = default > * TranslateNotices on: Add a new patron. lang = default > * TranslateNotices on, staff user set to fr-FR. Add new patron. lang = > default > > Which version did you test with? My comment dates from 2021. So it must have been fixed in the meantime?
> > Which version did you test with? > > My comment dates from 2021. So it must have been fixed in the meantime? Would be nice to know how and when... but I am closing this one for now.