Unexpected token, expected “,“ 写国际化的时候报的错误如何让解决

1. 看浏览器打印显示哪里错误 如果没有发现错误看下一条
2. 直接看在运行里面看一目了然,在第几行出现的错误,一般用 ^ 指向错误位置
我在写国际化的时候报的这个错误: 1. 必须使用驼峰命名法 2. 不能数字开头 3. 不能有任何符号非常严格

**

一.如下

**

module.exports = {Home:{NewArrivals:			"New Arrivals",					//	新品推荐TopRankedProducts:		"Top-rankedProducts",				//	顶级产品Dropshipping:			"Dropshipping",						//	直运PremiumOEMFactorie:		"Premium OEM Factorie",				//	优质OEM代理TopRankingSupplier:	"Top-rankingSupplier",				//	顶级供应商FastDispatch:			"Fast Dispatch",					//	快速调度WeeklyDeals:			"Weekly Deals",						//	每周交易JUSTFORYOU:				"JUST FOR YOU",						//	只为你Featured:				"Featured",							//	作为特色的YouMayAlsoLike:			"You may also like",				//	你可能也喜欢BeautyPicks:			"Beauty picks",						//	选美ComputersAccessories:	"Computers & Accessories",			//	电脑及配件ShopTopCategories:		"Shop top categories",				//	选购顶级品类GetFitAtHome:			"Get fit at home",					//	在家里健身FindYourIdealTV:		"Find your ideal TV",				//	找到你理想的电视OURTRADESERVICESAREHEREFORYOU:"OUR TRADE SERVICES ARE HERE FOR YOU",	//	我们的贸易服务在这里为您服务SignInToSeePersonalizedRecommendations: "Sign in to see personalized recommendations",	//登录查看个性化推荐},Common:{header:{TSBYTC:					"TSBYTC",Products:				"Products",							//	产品WhatAreYouLooking:		"What are you looking",				//	你在看什么Search:					"Search",							//	搜索SignIn:					"Sign in",								//	登录Messagest:				"Messagest",						//	消息Cart:					"Cart",								//	推车},footer:{CustomerServices:	"Customer Services",					//	客户服务HelpCenter:			"Help Center",							//	帮助中心ContactUs:			"Contact Us",							//	联系我们ReportAbuse:		"Report Abuse",							//	举报虐待SubmitADispute:		"Submit a Dispute",						//	提出争议PoliciesRules:	"Policies & Rules",							//	政策和规则GetPaidForYourFeedback:	"Get Paid for Your Feedback",		//	为你的反馈获得报酬AboutUsTsbytcCom:	"About Us Tsbytc.com",					//	关于我们Tsbytc.comAboutBOYUTsbytcCom:	"About BOYU Tsbytc.com",			//	博宇Tsbytc.com简介	Sitemap:			"Sitemap",								//	网站地图SourceOnTsbytcCom:	"Source on Tsbytc.com",					//	Source on Tsbytc.comResources:			"Resources",							//	资源AllCategories:		"All Categories",						//	所有类别RequestForQuotation:"Request for Quotation",				//	报价邀请函ReadyToShip:		"Ready to Ship",						//	准备装运	BuyerPartners:		"Buyer Partners",						//	买方合作伙伴SellOnTsbytcCom:	"Sell on Tsbytc.com",					//	这里是Tsbytc.comSupplierMemberships:" Supplier Memberships",				//	供应商成员资格LearningCenter:		"Learning Center",						//	学习中心PartnerProgram:		"Partner Program",						//	合作伙伴计划TradeServices:		"Trade Services",						//	贸易服务TradeAssurance:		"Trade Assurance",						//	贸易保证BusinessIdentity:	" Business Identity",					//	商业身份LogisticsService:	"Logistics Service",					//	物流服务ProductionMonitoring:	"Production Monitoring &",			//	生产监控&InspectionServices:	"Inspection Services",					//	检查服务LetterOfCredit:		"Letter of Credit",						//	信用证ProductListingPolicyIntellectualPropertyProtectionPrivacyPolicyTermsOfUseUserInformationLegalEnquiryGuide:	"Product Listing Policy - Intellectual Property Protection - Privacy Policy - Terms of Use - User Information Legal Enquiry Guide",		// 产品上市政策.知识产权保护.隐私政策.使用条款.用户信息法律查询指南TsbytcComAllRightsReserved20212021:	"© 2021-2021 Tsbytc.com. All rights reserved.",		//	© 2021-2021 Tsbytc.com。版权所有。冀公网安备33010002001245号冀B220210001:	"No.33010002001245, Anbei, jigong.com Ji b2-20210001",			//	冀公网安备 33010002001245号 冀B2-20210001}}
}


本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!

相关文章

立即
投稿

微信公众账号

微信扫一扫加关注

返回
顶部