manpagez: man pages & more
info gettext
Home | html | info | man

File: gettext.info,  Node: YCP,  Prev: GCC-source,  Up: List of Programming Languages

16.5.31 YCP - YaST2 scripting language
--------------------------------------

RPMs
     libycp, libycp-devel, yast2-core, yast2-core-devel

Ubuntu packages
     --

File extension
     ‘ycp’

String syntax
     ‘"abc"’

gettext shorthand
     ‘_("abc")’

gettext/ngettext functions
     ‘_()’ with 1 or 3 arguments

textdomain
     ‘textdomain’ statement

bindtextdomain
     --

setlocale
     --

Prerequisite
     --

Use or emulate GNU gettext
     use

Extractor
     ‘xgettext’

Formatting with positions
     ‘sformat "%2 %1"’

Portability
     fully portable

po-mode marking
     --

   An example is available in the ‘examples’ directory: ‘hello-ycp’.

© manpagez.com 2000-2026
Individual documents may contain additional copyright information.