endif
cdata = configuration_data()
+cdata.set('ENABLE_NLS', 1)
if cc.get_id() == 'msvc'
msvc_args = [
# xgettext is optional (on Windows for instance)
if find_program('xgettext', required : get_option('nls')).found()
- cdata.set('ENABLE_NLS', 1)
subdir('po')
endif
endif
core_conf = configuration_data()
+core_conf.set('ENABLE_NLS', 1)
# Symbol visibility
if cc.get_id() == 'msvc'
# xgettext is optional (on Windows for instance)
if find_program('xgettext', required : get_option('nls')).found()
- core_conf.set('ENABLE_NLS', 1)
subdir('po')
endif
subdir('docs')
endif
cdata = configuration_data()
+cdata.set('ENABLE_NLS', 1)
check_headers = [
['HAVE_DLFCN_H', 'dlfcn.h'],
# xgettext is optional (on Windows for instance)
if find_program('xgettext', required : get_option('nls')).found()
- cdata.set('ENABLE_NLS', 1)
subdir('po')
endif
endif
cdata = configuration_data()
+cdata.set('ENABLE_NLS', 1)
+
check_headers = [
['HAVE_DLFCN_H', 'dlfcn.h'],
['HAVE_INTTYPES_H', 'inttypes.h'],
# xgettext is optional (on Windows for instance)
if find_program('xgettext', required : get_option('nls')).found()
- cdata.set('ENABLE_NLS', 1)
subdir('po')
endif
subdir('docs')
- use dgettext (possibly disguised as _) to translate from a set domain
- How to make your plug-in code translatable:
- - include <gst/gst-i18n-plugin.h> in all files that mark strings for
- translation, or do the bindtextdomain call
- in plugin_init, add a block like this:
#ifdef ENABLE_NLS