> For the complete documentation index, see [llms.txt](https://sandbox-docs.verifone.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sandbox-docs.verifone.com/s-adk-5.1-programmers-guide/sdi__lang_8h_source.md).

# sdi\_lang.h

[Go to the documentation of this file.](/s-adk-5.1-programmers-guide/readme/files/dir_44d926a17fc606d3c25449ba60427c63/dir_048f823fee1bfb22502a8732b9a001aa/sdi__lang_8h.md)

```cpp
 1 /****************************************************************************
 2 * Product: InFusion
 3 * Company: Verifone
 4 * Author: GSS R&D Germany
 5 * Content: SDI-Server
 6 ****************************************************************************/
 7 
 8 #ifndef _SDI_LANG_H_
 9 #define _SDI_LANG_H_
 10 
 11 namespace sdi
 12 {
 13  // include auto-generated language definitions into namespace sdi
 14 #include "generated/lang.h"
 15 
 20  Language languageSupported(unsigned val);
 21 
 27  const char *getLanguageIsoCode(Language lang_id);
 28 
 35  unsigned getLanguage(const char *ISO_639);
 36 
 37 
 38  class SdiLanguage
 39  {
 40  Language trxLanguageId_;
 41  public:
 43  SdiLanguage();
 44 
 49  explicit SdiLanguage(Language languageId);
 50 
 55  Language getLanguageId();
 56 
 61  void setLanguageId(Language languageId);
 62 
 68  void selectLanguage(unsigned char *rsp, unsigned short *rspSize);
 69  };
 70 
 71 } // namespace sdi
 72 
 73 #endif // _SDI_LANG_H_
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://sandbox-docs.verifone.com/s-adk-5.1-programmers-guide/sdi__lang_8h_source.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
