The translated version of the resource file for Japanese is shown below. The closestPointOnCurve plug-in is a plug-in module, which is installed within a standard module directory structure defined along the MAYA_MODULE_PATH. The Japanese version of the closestPointOnCurve.pres.mel file is placed in the resources/ja_JP directory.
// Resources for Plug-in: closestPointOnCurve
//
// ----------------------------
// Registered string resources:
// ----------------------------
setPluginResource( "closestPointOnCurve", "kAETitle", "カーブ上の最近接ポイント アトリビュート");
setPluginResource( "closestPointOnCurve", "kInputCurve", "入力カーブ");
setPluginResource( "closestPointOnCurve", "kInvalidType", "オブジェクト ^1s は無効なタイプです。 カーブまたはトランスフォームのみ指定できます。");
setPluginResource( "closestPointOnCurve", "kNoQueryFlag", "最低 1 つの照会可能なフラグまたは照会モードを指定する必要があります。 help コマンドを使用して利用可能なすべてのフラグをリストします。");
setPluginResource( "closestPointOnCurve", "kNoValidObject", "1 つのカーブまたはトランスフォーム ノードをコマンド引数として、またはカレントの選択項目を使用して指定する必要があります。");
setPluginResource( "closestPointOnCurve", "kResults", "結果");
//
// --------------------------
// Registered node resources:
// --------------------------
//
// Node: closestPointOnCurve
//
setNodeNiceNameResource( "closestPointOnCurve", "カーブ上の最近接ポイント" );
setAttrNiceNameResource( "closestPointOnCurve", "ic", "入力カーブ" );
setAttrNiceNameResource( "closestPointOnCurve", "ip", "入力位置" );
setAttrNiceNameResource( "closestPointOnCurve", "ipx", "入力位置 X" );
setAttrNiceNameResource( "closestPointOnCurve", "ipy", "入力位置 Y" );
setAttrNiceNameResource( "closestPointOnCurve", "ipz", "入力位置 Z" );
setAttrNiceNameResource( "closestPointOnCurve", "p", "位置" );
setAttrNiceNameResource( "closestPointOnCurve", "px", "位置 X" );
setAttrNiceNameResource( "closestPointOnCurve", "py", "位置 Y" );
setAttrNiceNameResource( "closestPointOnCurve", "pz", "位置 Z" );
setAttrNiceNameResource( "closestPointOnCurve", "n", "法線" );
setAttrNiceNameResource( "closestPointOnCurve", "nx", "法線 X" );
setAttrNiceNameResource( "closestPointOnCurve", "ny", "法線 Y" );
setAttrNiceNameResource( "closestPointOnCurve", "nz", "法線 Z" );
setAttrNiceNameResource( "closestPointOnCurve", "t", "接線" );
setAttrNiceNameResource( "closestPointOnCurve", "tx", "接線 X" );
setAttrNiceNameResource( "closestPointOnCurve", "ty", "接線 Y" );
setAttrNiceNameResource( "closestPointOnCurve", "tz", "接線 Z" );
setAttrNiceNameResource( "closestPointOnCurve", "u", "パラメータ U" );
setAttrNiceNameResource( "closestPointOnCurve", "d", "距離" );