The SFML-MultiLanguage-Library (short: MLL) is a library of objects with texts which provide different languages. With the library it is possible to create Strings with texts in different languages and switch easily between them. The texts are read from a file. You have to call a single function to change the language of all objects created with this library. MLL contains a class sf::Strings for different languages and a class to create more multi-language-classes.
| Name | SFML-MultiLanguage-Library (MLL) |
| Version | 0.2 |
| Author | Philipp Kloke (Forum: Mr. X) |
| Requirement | SFML 1.4 or higher, Graphics-Package |
| Programming Language | C++ |
| Source code available | Yes |
| License | In the source code |
| Operating System | Platform independent |
| Project files for | Microsoft Visual C++ 2008 SP1 |
Generally a MLL_SF_String could be used like a sf::String. All functions of a sf::String are also available. As long as no name has been set, a MLL_SF_String behaves like a sf::String. If the Multilanguage-Object has a name the speech file is read out. If a text is available for the object, it gets its new text. Because of the different behavior of std::string MLL_Std_String is a bit different from MLL_SF_String. It do not inherit from std::string but it has a std::string as a public member variable. The behaviour if you change the language, etc. is the same, only getting the string is different. You can get more pieces of information from the source code.
The files are in the folder “language” in the current folder. The filename is build in this way: “Name of the Language.lang” This is the format of the file:
Objekt1=Text1 Objekt2=Text2
If you detect a bug or if you miss a feature, please write it as a PM in the Forum to the user “Mr. X”. Please write in english or in german.
You should also provide a little sample on this page ( → marketing point of view ) .
You should also upload here the files.
You should replace “License In the source code” by your license.