#include "support/docstring.h"
-#include <string>
+
+namespace lyx {
/*
* Native Language Support
//#ifdef ENABLE_NLS
///
-lyx::docstring const _(std::string const &);
+docstring const _(std::string const &);
//#else // ENABLE_NLS
# define N_(str) (str) // for detecting static strings
+/**
+ * Translate \p name if it is possible.
+ * This should be used to translate strings that come from configuration
+ * files like .ui files. These strings could already be in the native
+ * language if they come from a file in the personal directory. */
+docstring const translateIfPossible(docstring const & name);
+
///
void locale_init();
+
+} // namespace lyx
+
#endif