网站首页  英汉词典

请输入您要查询的英文单词:

 

单词 GetText
释义

GetText

中文百科

Gettext

gettext是GNU国际化与本地化(i18n)函数库。它常被用于编写多语言进程。

进程源代码需要进行修改以响应GNU gettext请求。多数编程语言均已通过字符封装的方式实现了对其的支持。为了减少输入量和代码量,此功能通常以标记别名“_”的形式使用,所以例如以下C语言代码:

应当写作:

gettext使用其中的字符串寻找对应的其他语言翻译,若没有可用翻译则返回原始内容。

除C语言外, GNU gettext还支持C++,Objective-C,Pascal/Object Pascal,sh脚本,bash脚本,Python,GNU CLISP,Emacs Lisp,librep,GNU Smalltalk,Java,GNU awk,wxWidgets(通过wxLocale类),YCP(YaST2语言),Tcl,Perl,PHP,Pike,Ruby以及R。用法均与在C语言上类似。

英语百科

gettext

Typical gettext workflow.  The de.po instance on the left shows that no string translation was found, so the original string is passed through.

In computing, gettext is an internationalization and localization (i18n) system commonly used for writing multilingual programs on Unix-like computer operating systems. The most commonly used implementation of gettext is GNU gettext, released by the GNU Project in 1995.

随便看

 

英汉网英语在线翻译词典收录了3779314条英语词汇在线翻译词条,基本涵盖了全部常用英语词汇的中英文双语翻译及用法,是英语学习的有利工具。

 

Copyright © 2004-2024 encnc.com All Rights Reserved
更新时间:2025/6/21 11:27:23