Go to file
SweetId 65c34ee076 fix OnLocaleInstalled notification 2023-10-21 12:08:45 -04:00
examples Initial commit 2023-10-20 20:17:31 -04:00
include/NazaraLocalization fix OnLocaleInstalled notification 2023-10-21 12:08:45 -04:00
src/NazaraLocalization fix OnLocaleInstalled notification 2023-10-21 12:08:45 -04:00
.gitignore Initial commit 2023-10-20 20:17:31 -04:00
LICENSE Initial commit 2023-10-20 20:17:31 -04:00
README.md Fix readme example code 2023-10-20 20:19:20 -04:00
xmake.lua Initial commit 2023-10-20 20:17:31 -04:00

README.md

Nazara Localization

Nazara Localization is a Nazara Engine module that allows you to add localized text to your project.

You can use it in any kind of commercial and non-commercial applications without any restriction (MIT license).

Authors

Sid - main developper

How to Use

// Add Localization.hpp to your includes
#include <NazaraLocalization/Localization.hpp>

// main.cpp
{
    // Add Nz::Localization to the modules list
    Nz::Modules<Nz::Graphics, Nz::Localization,...> nazara;

    Nz::Localization::Instance()->LoadLocalizationFile("path_to_localization_file.csv");

    Nz::LocalizedText hello = "LOC_HELLO_WORLD";
    printf("text: %s\n", hello.c_str());
}

Contribute

Don't hesitate to contribute to Nazara Engine by:
  • Extending the wiki
  • Submitting a patch to GitHub
  • Post suggestions/bugs on the forum or the GitHub tracker
  • Fork the project on GitHub and push your changes
  • Talking about Nazara Engine to other people, spread the word!
  • Doing anything else that might help us

Discord