An open API service indexing awesome lists of open source software.

https://github.com/rootcircle/hello-world-c-i18n

Example Hello World with i18n support
https://github.com/rootcircle/hello-world-c-i18n

c gettext i18n

Last synced: 11 months ago
JSON representation

Example Hello World with i18n support

Awesome Lists containing this project

README

          

# Hello world in C with i18n support with GNU gettext()

## Creating and Updating Locales

```bash
make locale
make edit-locale
make patch-locale
```

## Running Code

```bash
make run
make run-default
```

## Running normally

```bash
LANGUAGE=en_US ./hello # Replace en_US with your required locale
```

## Resources
- https://stackoverflow.com/questions/1003360/complete-c-i18n-gettext-hello-world-example
- https://fedoraproject.org/wiki/How_to_do_I18N_through_gettext
- https://web.archive.org/web/20120817202656/http://oriya.sarovar.org/docs/gettext/node4.html