Skip to content
Snippets Groups Projects
Commit ee0d3e0d authored by Per Hedbor's avatar Per Hedbor
Browse files

[autodoc] Added note about extract_locale to the Locale module.

parent 5047bed1
Branches
Tags
No related merge requests found
...@@ -33,6 +33,25 @@ ...@@ -33,6 +33,25 @@
//! write(LOCALE(0, "This is another one.\n"); //! write(LOCALE(0, "This is another one.\n");
//! return 0; //! return 0;
//! } //! }
//!
//! @note
//! In order to update your code to actually use the locale strings
//! you need to run the locale extractor.
//!
//! This is available as pike -x extract_locale
//!
//! @code
//! Syntax: pike -x extract_locale [arguments] infile(s)
//! Arguments: --project=name default: first found in infile
//! --config=file default: [project].xml
//! --out=file default: [project]_eng.xml
//! --nocopy update infile instead of infile.new
//! --notime don't include dump time in xml files
//! --wipe remove unused ids from xml
//! --sync synchronize all locale projects
//! --encoding=enc default: ISO-8859-1
//! --verbose more informative text in xml
//! @endcode
#define CLEAN_CYCLE 60*60 #define CLEAN_CYCLE 60*60
//#define LOCALE_DEBUG //#define LOCALE_DEBUG
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment