Bug 39701 - No language selection possible in self service
No language selection possible in self service
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Self Service
UCS 4.1
Other Linux
: P5 normal (vote)
: UCS 4.1
Assigned To: Florian Best
Daniel Tröder
: interim-2
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-11-02 12:50 CET by Florian Best
Modified: 2015-11-17 12:12 CET (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2015-11-02 12:50:12 CET
The self service currently only runs with the system locale. No translation into the browser language is done.
Comment 1 Florian Best univentionstaff 2015-11-02 18:39:26 CET
The backend side has been fixed. For the frontend Bug #39597 is responsible.
Comment 2 Daniel Tröder univentionstaff 2015-11-04 16:51:54 CET
Fixed the gettext domain (r65195).

curl -s -H "Content-Type: application/json" -H "Accept-Language: en_US" -X POST -d '{"username":"xyz"}' http://10.200.3.26/univention-self-service/passwordreset/get_reset_methods | json_xs 
{
   "message" : "Unknown user 'xyz'."
}

curl -s -H "Content-Type: application/json" -H "Accept-Language: de_DE" -X POST -d '{"username":"xyz"}' http://10.200.3.26/univention-self-service/passwordreset/get_reset_methods | json_xs 
{
   "message" : "Unbekannter Benutzer 'xyz'."
}

curl -s -H "Content-Type: application/json" -H "Accept-Language: en_US" -X POST -d '{"username":"test1"}' http://10.200.3.26/univention-self-service/passwordreset/get_reset_methods | json_xs 
{
   "message" : null,
   "result" : [
      {
         "id" : "sms",
         "label" : "Text Message"
      },
      {
         "label" : "Email",
         "id" : "email"
      }
   ]
}

curl -s -H "Content-Type: application/json" -H "Accept-Language: de_DE" -X POST -d '{"username":"test1"}' http://10.200.3.26/univention-self-service/passwordreset/get_reset_methods | json_xs 
{
   "result" : [
      {
         "id" : "sms",
         "label" : "SMS"
      },
      {
         "label" : "E-Mail",
         "id" : "email"
      }
   ],
   "message" : null
}
Comment 3 Stefan Gohmann univentionstaff 2015-11-17 12:12:21 CET
UCS 4.1 has been released:
 https://docs.software-univention.de/release-notes-4.1-0-en.html
 https://docs.software-univention.de/release-notes-4.1-0-de.html

If this error occurs again, please use "Clone This Bug".