2023-10-20 20:17:31 -04:00
2023-10-20 20:17:31 -04:00
2023-10-20 20:17:31 -04:00
2023-10-20 20:19:20 -04:00
2023-10-20 20:17:31 -04:00

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

Description
No description provided
Readme 43 KiB
Languages
C++ 79%
Lua 21%