Hide Forgot
Created attachment 800282 [details] Unlocalized string "Unknown" Description of problem: The string "Unknown" is not localized in on the Sessions subtab under Virtual Machines tab. Version-Release number of selected component (if applicable): 3.3.0-0.22 How reproducible: 100% Steps to Reproduce: 1. Login to Admin Portal in any given localized locale 2. Click Virtual Machines tab 3. Select a VM from the list 4. Click Sessions subtab 5. Check the string shown next to Logged-in User Actual results: "Unknown" is in English Expected results: Should be localized Additional info: Screenshot is attached.
This will be a bit harder as it looks like. It will require both VDSM and engine changes. The problem is that VDSM can return the String "Unknown" if the user is not provided (guestIF.py -> __init__). And VDSM also relies on the "Unknown" String as the undefined username. Simple fix would be if the String "Unknown" arrives to the engine, we localize it. The correct fix would be to change VDSM to not rely on the "Unknown" String and return an empty one. @Michal thoughts?
ah, yeah, indeed. I'd go with sending "?" perhaps, but it seems to me that's a bit late for 3.3
any value that is originating from DB is problematic to localize - see bug 1000951 comment #3. if critical - need to open an RFE for supporting localization of DB-originated values. for now closing.