languageConfig.js 3.26 KB
const lang = window.appConfig.languageConfig || 'zh';
//语言切换配置
window.$gl = (params) => {
    const languageData = languageConfig[lang];
    if (languageData && languageData[params]) {
        return languageData[params];
    }
    return params;
};

// 语言配置
var languageConfig = {
    "zh": {
        "index": "序号",
        "pageTitle": "中文标题",
        "Developmentaddress": "开发地址",
        "serverAddress": "服务器地址",

        "kanbanLsit": "看板列表",


        "TrayNumber": "托盘号",
        "Start/TargetLocation": "起始/目标库位",
        "Start/TargetPlatform": "起始/目标平台",
        "taskType": "任务类型",
        "taskStatus": "任务状态",

        "managePlatform": "管理平台",

        "Sortingboards": "分拣看板",
        "Sortingboards2": "分拣看板",
        "Sortingboards3": "分拣看板",
        "Sortingboards4": "分拣看板",
        "Sortingboards5": "分拣看板",
        "Sortingboards6": "分拣看板",
        "Sortingboards7": "分拣看板",

        "KanbanName": "看板名称",
        "KanbanName2": "看板名称2",
        "KanbanName3": "看板名称3",
        "KanbanName4": "看板名称4",
        "KanbanName5": "看板名称5",
        "KanbanName6": "看板名称6",
        "KanbanName7": "看板名称7",

        "day": "当天",
        "that week": "当周",
        "that month": "当月",
        "warehousing": "入库",
        "outbound": "出库",
        "warehouse location usage status": "库位使用情况",
        "RTS of S": "堆垛机实时状态",
        "running state of stacking machine": "堆垛机运行状态",
        "Stacker Task": "堆垛机任务",
        "Production Information": "生产信息",
        "alarm information": "报警信息"

    },
    "en": {
        "index": "index",
        "pageTitle": "english",

        "Developmentaddress": "Developmentaddress",
        "serverAddress": "serverAddress",

        "kanbanLsit": "kanbanLsit",


        "TrayNumber": "TrayNumberCode",
        "Start/TargetLocation": "Start/Target Location",
        "Start/TargetPlatform": "Start/Target Platform",
        "taskType": "TaskType",
        "taskStatus": "TaskStatus",

        "managePlatform": "managePlatform",

        "Sortingboards": "22222",
        "Sortingboards2": "Sortingboards2",
        "Sortingboards3": "Sortingboards3",
        "Sortingboards4": "Sortingboards4",
        "Sortingboards5": "Sortingboards5",
        "Sortingboards6": "Sortingboards6",
        "Sortingboards7": "Sortingboards7",

        "KanbanName": "KanbanName",
        "KanbanName2": "KanbanName2",
        "KanbanName3": "KanbanName3",
        "KanbanName4": "KanbanName4",
        "KanbanName5": "KanbanName5",
        "KanbanName6": "KanbanName6",
        "KanbanName7": "KanbanName7",

        "day": "day",
        "that week": "that week",
        "that month": "that month",
        "warehousing": "warehousing",
        "outbound": "outbound",
        "warehouse location usage status": "Warehouse LocationUS",
        "RTS of S": "RTS of S",
        "running state of stacking machine": "RSSM",
        "Stacker Task": "Stacker Task",
        "Production Information": "Production Information",
        "alarm information": "alarm information"




    }
};