To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This VI demonstrates how to display a different error depending on the language spoken by the user of application.
Description
Here is a brief description of the example:
Someone recently asked me how they could display a different error depending on the language spoken by the user of the application. This simple example shows one possible way of doing this. An error cluster is made up of three elements:
Status - True means there is an error, false there is no error (doesn't require translation)
Error code - A number identifying the error (doesn't require translation)
Error source - Where the error occurred (requires translation)
Therefore, the only element of the error cluster that needs translated is the error source. A csv file is provided which contains sample "error sources" translated into four different languages. Note instead of error sources, I have just used simple words to make it easy to understand.
Requirements
Steps to Implement or Execute Code
Additional Information or References
VI Snippet
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.