点击查看详细介绍

請問UF_TEXT_load_translation_file如何使用

ggyybon 16年前 11596 2

购买与咨询 NX 二次开发视频教程,请联系微信号:13890821008  QQ号:85585969  


各位先進:

0

最新回复 (2)
  • cam-yp 16年前
    1

    This is the complete path to the file to be loaded. When
    NX displays the user interface, it will use the
    contents of this file to try and translate strings into
    the users language.

    Translation strings that exist in the NX language
    file found in $UGII_LANGUAGE/ugii.lng will always be used
    first. If a translation is not found in that file, then
    this file will be searched.

    值得注意的是:在制作LNG文件时,要设置相对的语言格式,简体中文simpl_chinese,繁体中文trad_chinese

    NX会自动查找NX自带LNG文件,当找不到时,才会在用户自定义LNG文件中查找

  • ggyybon 16年前
    2

    我在製作LNG文件時也都有設置相對的語言格式,但在呼叫UI Styler時上面的顯示文字依然沒變更我載入載入.lng檔案的dll寫法如下:
    extern DllExport void ufsta( char *param, int *returnCode, int rlen )
    {

请登录后发表新帖