CoreBOSBB
Get translated field labels when WS describing - Printable Version

+- CoreBOSBB (https://discussions.corebos.org)
+-- Forum: Development (https://discussions.corebos.org/forumdisplay.php?fid=18)
+--- Forum: coreBOS Development (https://discussions.corebos.org/forumdisplay.php?fid=4)
+--- Thread: Get translated field labels when WS describing (/showthread.php?tid=2195)



Get translated field labels when WS describing - Guido1982 - 09-23-2021

I'm building a piece of webservice where I'd like to get the field labels returned by the describe webservice call translated to the requesting user's language. Is there a way I can do that?


RE: Get translated field labels when WS describing - joebordes - 09-25-2021

I think describe does that
it sends the label in raw and translated as per the connected users language


RE: Get translated field labels when WS describing - Guido1982 - 09-27-2021

OK, maybe I missed that. Let me check


RE: Get translated field labels when WS describing - joebordes - 09-27-2021

gave it a try and it wasn't working as expected so made this change:

https://github.com/tsolucio/corebos/commit/297a63363b11c8dab828f69e17010b5fc8e3ac16

Let me know how it goes