首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >ARB保持架不工作

ARB保持架不工作
EN

Stack Overflow用户
提问于 2017-03-30 18:40:54
回答 1查看 50关注 0票数 1

我正在使用ARB google的API进行本地化,但实际上持卡人没有工作,我花了5个小时来解决这个问题,没有运气

代码语言:javascript
复制
arb.register(
"login", 
{
"title": "Login",
"subtitle": "to your account",
"MSG_BODY_TEST": "This is a test.",
"email": "Email {0}",
"@email": {
 "placeholders": {
   "0": {
      "example": "$123.45",
      "description": "cost presented with currency symbol"
   }
   }
},
"MSG_CURR_LOCALE": "...and the selected language is \"{currentLocale}\"."

}

);

代码语言:javascript
复制
    arb.register(
"login:ar", 
{
"title": "الدخول",
"subtitle": "الى حسابك",
"email": "البريد الاكتروني {0}",
"@email": {
 "placeholders": {
   "0": {
      "example": "$123.45",
      "description": "cost presented with currency symbol"
         }
         }
            },
    "MSG_CURR_LOCALE": "...and the selected language is \"          {currentLocale}\"."
    }

 );

谁能告诉我有什么问题吗?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2017-03-30 20:27:49

好吧,试着用"email@placeholder": "Email"代替"email@placeholder": "Email"

检查这个:参考文献

同时拆下你不需要的位置支架

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/43125951

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档