Previous: Action Features, Up: Interface [Contents][Index]
A Bison-generated parser can print diagnostics, including error and
tracing messages. By default, they appear in English. However, Bison
also supports outputting diagnostics in the user’s native language. To
make this work, the user should set the usual environment variables.
See The User’s View in GNU gettext
utilities.
For example, the shell command ‘export LC_ALL=fr_CA.UTF-8’ might
set the user’s locale to French Canadian using the UTF-8
encoding. The exact set of available locales depends on the user’s
installation.
• Enabling I18n | Preparing your project to support internationalization. | |
• Token I18n | Preparing tokens for internationalization in error messages. |