Hi,
I have a function in a table which uses the CAPTION property from the RecordRef variable. What should i do to get this CAPTION in another language, without changing the GLOBALLANGUAGE?
Somebody had asked this before and the answer was "No way", but the post was posted on year 2007.
What about now in the latest version of NAV2009 SP1?
Not quite true... You can change the language for a report without changing the global language. I seem to recall that the Mobile solution uses this when processing requests. It insures that each user get messages in the right language, even when the request is processed on the NAS.
I understand... creating one report which will take parameters of which field you want, it internally switch into this language, read the caption, and return it back. But this possibility was there before, it means could be applied to all versions supporting multilanguage.
To be more explicit, what I would like to do is getting different language captions from NAV caption property return to web application via web services, depending on which uiCulture/language code set in the web application.
Would it be possible if I could use any kind of objects to achieve the objective? Any reference?
Are you asking how to get the uiCulture/language code, or how to structure your code?
The last one is pretty simple: Let the published codeunit be a simple wrapper for a function in a report 8)
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Edit: Works for Forms and Dataports too...
Peter
Thus - no change, could be solved as before... 8)
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
I didn't say that your post wasn't true, did I? :whistle:
It was the old post from 2007 that wasn't true 8)
Peter
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
To be more explicit, what I would like to do is getting different language captions from NAV caption property return to web application via web services, depending on which uiCulture/language code set in the web application.
Would it be possible if I could use any kind of objects to achieve the objective? Any reference?
The last one is pretty simple: Let the published codeunit be a simple wrapper for a function in a report 8)
Peter
Thanks, Peter.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!