Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

mini18n - translates strings

Description

mini18n()  searches  for  source  in the currently loaded translation and returns the translated value if
       it's found.  In this case, the returned string points to a mini18n internal buffer and thus should not be
       free()'d or modified in any way.  If source is not found or no translation is loaded, the  source  string
       is returned.

       mini18n_with_conversion()  do  the  same  as  mini18n()  but  also converts the returned to the specified
       format.  Another difference is that the returned string is always converted to the format.  For  now  the
       only possible value of format is MINI18N_UTF16 and is only implemented for the Windows operating system.

Name

       mini18n - translates strings

Return Value

       The translated string if successul and the source string otherwise.

mini18n-0.2                                      August 30, 2011                                      mini18n(3)

Synopsis

#include<mini18n.h>constchar*mini18n(constchar*source);constchar*mini18n_with_conversion(constchar*source,unsignedintformat);

See Also