1167 lines
50 KiB
JavaScript
1167 lines
50 KiB
JavaScript
|
|
// 国际化配置
|
|||
|
|
const i18n = {
|
|||
|
|
// 当前语言
|
|||
|
|
currentLang: 'zh-CN',
|
|||
|
|
|
|||
|
|
// 语言包
|
|||
|
|
messages: {
|
|||
|
|
'zh-CN': {
|
|||
|
|
// 网站标题
|
|||
|
|
site_title: 'vizee为之甄选 - 精选优质商品',
|
|||
|
|
site_name: 'vizee为之甄选',
|
|||
|
|
|
|||
|
|
// 促销横幅
|
|||
|
|
promo_banner: '全场最高6折优惠',
|
|||
|
|
announcement_1: '🚚 满$59免运费',
|
|||
|
|
announcement_2: '🔥 限时促销 | 机不可失',
|
|||
|
|
announcement_3: '💰 全场优惠 | 所有订单25%折扣',
|
|||
|
|
banner_sale: '最高6折优惠',
|
|||
|
|
|
|||
|
|
// 导航菜单
|
|||
|
|
nav_home: '首页',
|
|||
|
|
nav_all_products: '所有商品',
|
|||
|
|
nav_arts_crafts: '艺术手工',
|
|||
|
|
nav_puzzles: '拼图',
|
|||
|
|
nav_board_games: '桌游',
|
|||
|
|
nav_new_arrivals: '新品上市',
|
|||
|
|
|
|||
|
|
// 搜索
|
|||
|
|
search_placeholder: '搜索商品...',
|
|||
|
|
search_results_title: '搜索结果 - vizee为之甄选',
|
|||
|
|
search_results_for: '搜索',
|
|||
|
|
search_results_text: '的结果',
|
|||
|
|
search_no_results: '未找到相关商品',
|
|||
|
|
search_try_again: '请尝试其他关键词或浏览所有商品',
|
|||
|
|
browse_all_products: '浏览所有商品',
|
|||
|
|
sort_default: '默认排序',
|
|||
|
|
error_price_range: '最低价格不能大于最高价格',
|
|||
|
|
error_load_products: '加载商品失败',
|
|||
|
|
add_to_cart_success: '已加入购物车',
|
|||
|
|
add_to_cart_failed: '加入购物车失败',
|
|||
|
|
please_login_first: '请先登录',
|
|||
|
|
sales_count: '已售',
|
|||
|
|
loading: '加载中...',
|
|||
|
|
in_stock: '有货',
|
|||
|
|
out_of_stock: '缺货',
|
|||
|
|
|
|||
|
|
// 筛选
|
|||
|
|
filter_title: '筛选条件',
|
|||
|
|
filter_availability: '库存状态',
|
|||
|
|
filter_in_stock: '有货',
|
|||
|
|
filter_out_of_stock: '缺货',
|
|||
|
|
filter_price: '价格区间',
|
|||
|
|
filter_category: '商品分类',
|
|||
|
|
cat_arts: '艺术手工',
|
|||
|
|
cat_puzzles: '拼图',
|
|||
|
|
cat_games: '桌游',
|
|||
|
|
cat_magnetic: '磁力玩具',
|
|||
|
|
btn_apply: '应用筛选',
|
|||
|
|
btn_clear: '清除筛选',
|
|||
|
|
|
|||
|
|
// 商品列表
|
|||
|
|
all_products_title: '所有商品',
|
|||
|
|
products_text: '个商品',
|
|||
|
|
sort_by: '排序方式:',
|
|||
|
|
sort_featured: '推荐',
|
|||
|
|
sort_best_selling: '最畅销',
|
|||
|
|
sort_price_asc: '价格从低到高',
|
|||
|
|
sort_price_desc: '价格从高到低',
|
|||
|
|
sort_date_new: '最新上架',
|
|||
|
|
|
|||
|
|
// 商品卡片
|
|||
|
|
add_to_cart: '加入购物车',
|
|||
|
|
quick_view: '快速查看',
|
|||
|
|
reviews: '评价',
|
|||
|
|
save: '节省',
|
|||
|
|
|
|||
|
|
// 分页
|
|||
|
|
pagination_prev: '上一页',
|
|||
|
|
pagination_next: '下一页',
|
|||
|
|
|
|||
|
|
// 页脚
|
|||
|
|
footer_about: '关于我们',
|
|||
|
|
footer_about_us: '公司简介',
|
|||
|
|
footer_contact: '联系我们',
|
|||
|
|
footer_careers: '加入我们',
|
|||
|
|
footer_help: '帮助中心',
|
|||
|
|
footer_shipping: '配送信息',
|
|||
|
|
footer_returns: '退换货政策',
|
|||
|
|
footer_faq: '常见问题',
|
|||
|
|
footer_service: '客户服务',
|
|||
|
|
footer_account: '我的账户',
|
|||
|
|
footer_orders: '订单查询',
|
|||
|
|
footer_track: '物流跟踪',
|
|||
|
|
footer_follow: '关注我们',
|
|||
|
|
footer_copyright: '© 2024 在线商城. 保留所有权利.',
|
|||
|
|
|
|||
|
|
// 商品状态标签
|
|||
|
|
badge_sale: '促销',
|
|||
|
|
badge_new: '新品',
|
|||
|
|
badge_hot: '热卖',
|
|||
|
|
badge_out_of_stock: '缺货',
|
|||
|
|
|
|||
|
|
// 首页
|
|||
|
|
hero_title_1: '探索·乐趣·艺术',
|
|||
|
|
hero_subtitle_1: '2-8岁儿童益智玩具',
|
|||
|
|
hero_title_2: '全场大促销',
|
|||
|
|
hero_subtitle_2: '最高享受6折优惠',
|
|||
|
|
hero_title_3: '新品上市',
|
|||
|
|
hero_subtitle_3: '发现更多精彩',
|
|||
|
|
hero_btn: '立即选购',
|
|||
|
|
feature_guarantee_title: '30天退款保证',
|
|||
|
|
feature_guarantee_desc: '无忧购物体验',
|
|||
|
|
feature_shipping_title: '满$59免运费',
|
|||
|
|
feature_shipping_desc: '全国包邮',
|
|||
|
|
feature_quality_title: '高品质与安全',
|
|||
|
|
feature_quality_desc: '严格品控标准',
|
|||
|
|
bestsellers_title: '畅销商品',
|
|||
|
|
view_all: '查看全部 →',
|
|||
|
|
shop_by_categories: '按分类选购',
|
|||
|
|
cat_blocks: '积木',
|
|||
|
|
cat_outdoor: '户外玩具',
|
|||
|
|
fun_for_all_ages: '适合各年龄段',
|
|||
|
|
age_0_2: '0-2岁',
|
|||
|
|
age_3_4: '3-4岁',
|
|||
|
|
age_5_6: '5-6岁',
|
|||
|
|
age_7_plus: '7岁以上',
|
|||
|
|
customer_reviews: '用户评价',
|
|||
|
|
instagram_title: '关注我们的Instagram',
|
|||
|
|
instagram_subtitle: '#获取最新灵感',
|
|||
|
|
quick_view_coming: '快速查看功能开发中...',
|
|||
|
|
|
|||
|
|
// 直播
|
|||
|
|
live_status: '🔴 直播中',
|
|||
|
|
live_title: '精彩直播正在进行',
|
|||
|
|
live_description: '观看商品展示,互动问答,更多惊喜等你来',
|
|||
|
|
watch_live: '立即观看',
|
|||
|
|
live_page_title: 'vizee为之甄选 - 直播',
|
|||
|
|
live_video_title: '商品展示直播',
|
|||
|
|
live_viewers: '观看',
|
|||
|
|
live_likes: '点赞',
|
|||
|
|
live_messages: '消息',
|
|||
|
|
live_description_title: '直播介绍',
|
|||
|
|
live_description_text: '欢迎来到vizee为之甄选直播间!今天我们将为您展示最新的儿童益智玩具,包括艺术手工、拼图、桌游等多个品类。主播会详细介绍每款产品的特点、使用方法,并解答您的疑问。直播期间还有专属优惠和抽奖活动,不要错过!',
|
|||
|
|
live_tab_chat: '聊天',
|
|||
|
|
live_tab_products: '商品',
|
|||
|
|
live_chat_placeholder: '发送消息...',
|
|||
|
|
live_float_title: 'vizee珍品直播',
|
|||
|
|
live_float_name: 'vizee官方直播',
|
|||
|
|
live_float_desc: '珍品官方直播,专业...',
|
|||
|
|
live_like: '点赞',
|
|||
|
|
live_danmaku: '弹幕',
|
|||
|
|
|
|||
|
|
// 登录注册页
|
|||
|
|
login_page_title: 'vizee为之甄选 - 登录/注册',
|
|||
|
|
login_title: '登录',
|
|||
|
|
dont_have_account: '还没有账户?',
|
|||
|
|
create_account: '创建账户',
|
|||
|
|
already_have_account: '已有账户?',
|
|||
|
|
sign_in: '登录',
|
|||
|
|
return_to_store: '返回商店',
|
|||
|
|
register_title: '注册',
|
|||
|
|
email_label: '邮箱',
|
|||
|
|
password_label: '密码',
|
|||
|
|
confirm_password_label: '确认密码',
|
|||
|
|
first_name_placeholder: '请输入名字',
|
|||
|
|
last_name_placeholder: '请输入姓氏',
|
|||
|
|
password_placeholder: '请输入密码',
|
|||
|
|
confirm_password_placeholder: '请再次输入密码',
|
|||
|
|
remember_me: '记住我',
|
|||
|
|
forgot_password: '忘记密码?',
|
|||
|
|
login_button: '登录',
|
|||
|
|
register_button: '注册',
|
|||
|
|
or_login_with: '或使用以下方式登录',
|
|||
|
|
wechat: '微信',
|
|||
|
|
no_account: '还没有账户?',
|
|||
|
|
register_link: '立即注册',
|
|||
|
|
have_account: '已有账户?',
|
|||
|
|
login_link: '立即登录',
|
|||
|
|
agree_terms: '我同意 <a href="#">服务条款</a> 和 <a href="#">隐私政策</a>',
|
|||
|
|
please_fill_all_fields: '请填写所有字段',
|
|||
|
|
invalid_email: '请输入有效的邮箱地址',
|
|||
|
|
password_too_short: '密码长度至少6个字符',
|
|||
|
|
password_not_match: '两次输入的密码不一致',
|
|||
|
|
please_agree_terms: '请同意服务条款和隐私政策',
|
|||
|
|
email_already_registered: '该邮箱已被注册',
|
|||
|
|
register_success: '注册成功!请登录',
|
|||
|
|
login_success: '登录成功!',
|
|||
|
|
login_failed: '邮箱或密码错误',
|
|||
|
|
feature_coming_soon: '功能开发中...',
|
|||
|
|
logging_in: '登录中...',
|
|||
|
|
registering: '注册中...',
|
|||
|
|
register_failed: '注册失败',
|
|||
|
|
|
|||
|
|
// 通用按钮
|
|||
|
|
confirm: '确定',
|
|||
|
|
cancel: '取消',
|
|||
|
|
ok: '好的',
|
|||
|
|
yes: '是',
|
|||
|
|
no: '否',
|
|||
|
|
edit: '编辑',
|
|||
|
|
edit_btn: '编辑',
|
|||
|
|
set_btn: '设置',
|
|||
|
|
not_set: '未设置',
|
|||
|
|
|
|||
|
|
// 账户设置
|
|||
|
|
nickname_label: '用户名',
|
|||
|
|
phone_label: '手机号',
|
|||
|
|
edit_nickname_title: '设置用户名',
|
|||
|
|
edit_email_title: '设置邮箱',
|
|||
|
|
edit_phone_title: '设置手机号',
|
|||
|
|
nickname_placeholder: '请输入用户名',
|
|||
|
|
phone_placeholder: '请输入手机号',
|
|||
|
|
nickname_required: '请输入用户名',
|
|||
|
|
email_required: '请输入邮箱',
|
|||
|
|
phone_required: '请输入手机号',
|
|||
|
|
nickname_length_error: '用户名长度2-20个字符',
|
|||
|
|
invalid_phone: '请输入有效的手机号(以1开头的11位数字)',
|
|||
|
|
update_success: '修改成功',
|
|||
|
|
logout_confirm_title: '退出登录',
|
|||
|
|
logout_confirm_message: '确定要退出当前账号吗?',
|
|||
|
|
logout_success: '已退出登录',
|
|||
|
|
|
|||
|
|
// 用户中心
|
|||
|
|
user_center_title: 'vizee为之甄选 - 用户中心',
|
|||
|
|
user_center: '个人中心',
|
|||
|
|
account_title: '账户',
|
|||
|
|
order_history: '订单历史',
|
|||
|
|
account_details: '账户详情',
|
|||
|
|
no_orders_placed: '您还没有下过任何订单。',
|
|||
|
|
default_location: '中国',
|
|||
|
|
view_addresses: '查看地址',
|
|||
|
|
order_number: '订单号:',
|
|||
|
|
order_total: '总计:',
|
|||
|
|
view_details: '查看详情',
|
|||
|
|
overview: '概览',
|
|||
|
|
my_orders: '我的订单',
|
|||
|
|
addresses: '收货地址',
|
|||
|
|
favorites_count: '收藏商品',
|
|||
|
|
settings: '账户设置',
|
|||
|
|
logout: '退出登录',
|
|||
|
|
total_orders: '总订单',
|
|||
|
|
cart_items: '购物车商品',
|
|||
|
|
recent_orders: '最近订单',
|
|||
|
|
no_orders_yet: '暂无订单',
|
|||
|
|
start_shopping: '开始购物',
|
|||
|
|
no_addresses: '暂无收货地址',
|
|||
|
|
add_address: '添加新地址',
|
|||
|
|
no_favorites: '暂无收藏商品',
|
|||
|
|
browse_products: '浏览商品',
|
|||
|
|
save_changes: '保存更改',
|
|||
|
|
save_success: '保存成功!',
|
|||
|
|
|
|||
|
|
// 商品详情页
|
|||
|
|
quantity_label: '数量:',
|
|||
|
|
buy_now: '立即购买',
|
|||
|
|
feature_shipping: '满$59免运费',
|
|||
|
|
feature_return: '30天退款保证',
|
|||
|
|
feature_quality: '高品质与安全',
|
|||
|
|
description_title: '商品描述',
|
|||
|
|
share_label: '分享:',
|
|||
|
|
tab_details: '产品详情',
|
|||
|
|
tab_reviews: '用户评价',
|
|||
|
|
tab_shipping: '配送与退货',
|
|||
|
|
details_specifications: '规格参数',
|
|||
|
|
spec_age: '适用年龄:',
|
|||
|
|
spec_material: '材质:',
|
|||
|
|
spec_size: '尺寸:',
|
|||
|
|
spec_weight: '重量:',
|
|||
|
|
shipping_info_title: '配送信息',
|
|||
|
|
shipping_info_desc: '订单满$59美国境内免运费,通常3-5个工作日送达。',
|
|||
|
|
return_policy_title: '退货政策',
|
|||
|
|
return_policy_desc: '30天无理由退货保证,商品需保持全新未使用状态。',
|
|||
|
|
related_products: '相关推荐',
|
|||
|
|
|
|||
|
|
// 购物车页面
|
|||
|
|
cart_title: 'vizee为之甄选 - 购物车',
|
|||
|
|
cart_page_title: '购物车',
|
|||
|
|
return_to_shop: '返回商店',
|
|||
|
|
cart_empty_message: '您的购物车是空的',
|
|||
|
|
continue_shopping: '继续购物',
|
|||
|
|
product: '商品',
|
|||
|
|
price: '价格',
|
|||
|
|
quantity: '数量',
|
|||
|
|
total: '总计',
|
|||
|
|
remove: '移除',
|
|||
|
|
cart_totals: '购物车总计',
|
|||
|
|
subtotal: '小计',
|
|||
|
|
discount: '折扣',
|
|||
|
|
black_friday_promo: 'Black Friday Presale (-$16.49)',
|
|||
|
|
shipping: '运费',
|
|||
|
|
free: '免费',
|
|||
|
|
free_shipping_notice: '再消费 $9.52 即可享受免运费',
|
|||
|
|
proceed_to_checkout: '去结算',
|
|||
|
|
you_may_also_like: '您可能还喜欢',
|
|||
|
|
product_added_to_cart: '商品已添加到购物车',
|
|||
|
|
badge_sale: '促销',
|
|||
|
|
badge_new: '新品',
|
|||
|
|
badge_hot: '热卖',
|
|||
|
|
|
|||
|
|
// 结算页
|
|||
|
|
checkout_title: '结算',
|
|||
|
|
express_checkout: '快速结算',
|
|||
|
|
or: '或',
|
|||
|
|
email_placeholder: '邮箱',
|
|||
|
|
email_offers: '接收新闻和优惠邮件',
|
|||
|
|
delivery: '配送信息',
|
|||
|
|
country_region: '国家/地区',
|
|||
|
|
country_us: '美国',
|
|||
|
|
country_cn: '中国',
|
|||
|
|
country_jp: '日本',
|
|||
|
|
first_name: '名字',
|
|||
|
|
last_name: '姓氏',
|
|||
|
|
address: '地址',
|
|||
|
|
address_placeholder: '搜索地址',
|
|||
|
|
apartment: '公寓、套房等(可选)',
|
|||
|
|
city: '城市',
|
|||
|
|
state: '州/省',
|
|||
|
|
select_state: '选择州/省',
|
|||
|
|
zip_code: '邮政编码',
|
|||
|
|
phone: '电话',
|
|||
|
|
use_saved_address: '使用保存的地址',
|
|||
|
|
text_offers: '接收短信新闻和优惠',
|
|||
|
|
shipping_method: '配送方式',
|
|||
|
|
shipping_notice: '输入您的收货地址以查看可用的配送方式。',
|
|||
|
|
payment: '支付方式',
|
|||
|
|
payment_secure: '所有交易均安全加密。',
|
|||
|
|
credit_card: '信用卡',
|
|||
|
|
card_number: '卡号',
|
|||
|
|
card_number_placeholder: '1234 5678 9012 3456',
|
|||
|
|
expiration: '有效期 (MM / YY)',
|
|||
|
|
expiration_placeholder: 'MM / YY',
|
|||
|
|
security_code: '安全码',
|
|||
|
|
security_placeholder: 'CVV',
|
|||
|
|
pay_now: '立即支付',
|
|||
|
|
order_summary: '订单摘要',
|
|||
|
|
discount_code: '折扣码或礼品卡',
|
|||
|
|
apply: '应用',
|
|||
|
|
subtotal: '小计',
|
|||
|
|
order_discount: '订单折扣',
|
|||
|
|
shipping: '运费',
|
|||
|
|
enter_address: '输入收货地址',
|
|||
|
|
total: '总计',
|
|||
|
|
total_savings: '总节省',
|
|||
|
|
continue_shopping: '继续购物',
|
|||
|
|
enter_discount_code: '请输入折扣码',
|
|||
|
|
discount_applied: '折扣码已应用!',
|
|||
|
|
invalid_email: '请输入有效的邮箱地址',
|
|||
|
|
required_name: '请输入姓名',
|
|||
|
|
required_address: '请填写完整的收货地址',
|
|||
|
|
required_phone: '请输入联系电话',
|
|||
|
|
required_payment: '请填写完整的支付信息',
|
|||
|
|
payment_success: '支付成功!订单已创建。',
|
|||
|
|
free: '免费'
|
|||
|
|
},
|
|||
|
|
|
|||
|
|
'en-US': {
|
|||
|
|
// Site Title
|
|||
|
|
site_title: 'vizee - Premium Selection',
|
|||
|
|
site_name: 'vizee',
|
|||
|
|
|
|||
|
|
// Promo Banner
|
|||
|
|
promo_banner: 'Up to 60% off',
|
|||
|
|
announcement_1: '🚚 FREE SHIPPING OVER $59',
|
|||
|
|
announcement_2: '🔥 FINAL SALE | PRICES LIKE THIS WON\'T LAST',
|
|||
|
|
announcement_3: '💰 SITEWIDE OFFER | 25% OFF ALL ORDERS',
|
|||
|
|
banner_sale: 'Up to 60% off',
|
|||
|
|
|
|||
|
|
// Navigation
|
|||
|
|
nav_home: 'Home',
|
|||
|
|
nav_all_products: 'All Products',
|
|||
|
|
nav_arts_crafts: 'Arts & Crafts',
|
|||
|
|
nav_puzzles: 'Puzzles',
|
|||
|
|
nav_board_games: 'Board Games',
|
|||
|
|
nav_new_arrivals: 'New Arrivals',
|
|||
|
|
|
|||
|
|
// Search
|
|||
|
|
search_placeholder: 'Search products...',
|
|||
|
|
search_results_title: 'Search Results - vizee',
|
|||
|
|
search_results_for: 'Search results for',
|
|||
|
|
search_results_text: '',
|
|||
|
|
search_no_results: 'No products found',
|
|||
|
|
search_try_again: 'Try different keywords or browse all products',
|
|||
|
|
browse_all_products: 'Browse All Products',
|
|||
|
|
sort_default: 'Default',
|
|||
|
|
error_price_range: 'Minimum price cannot be greater than maximum price',
|
|||
|
|
error_load_products: 'Failed to load products',
|
|||
|
|
add_to_cart_success: 'Added to cart',
|
|||
|
|
add_to_cart_failed: 'Failed to add to cart',
|
|||
|
|
please_login_first: 'Please login first',
|
|||
|
|
sales_count: 'sold',
|
|||
|
|
loading: 'Loading...',
|
|||
|
|
in_stock: 'In Stock',
|
|||
|
|
out_of_stock: 'Out of Stock',
|
|||
|
|
|
|||
|
|
// Filter
|
|||
|
|
filter_title: 'Filter',
|
|||
|
|
filter_availability: 'Availability',
|
|||
|
|
filter_in_stock: 'In Stock',
|
|||
|
|
filter_out_of_stock: 'Out of Stock',
|
|||
|
|
filter_price: 'Price Range',
|
|||
|
|
filter_category: 'Category',
|
|||
|
|
cat_arts: 'Arts & Crafts',
|
|||
|
|
cat_puzzles: 'Puzzles',
|
|||
|
|
cat_games: 'Board Games',
|
|||
|
|
cat_magnetic: 'Magnetic Tiles',
|
|||
|
|
btn_apply: 'Apply',
|
|||
|
|
btn_clear: 'Clear',
|
|||
|
|
|
|||
|
|
// Product List
|
|||
|
|
all_products_title: 'ALL PRODUCTS',
|
|||
|
|
products_text: 'products',
|
|||
|
|
sort_by: 'Sort by:',
|
|||
|
|
sort_featured: 'Featured',
|
|||
|
|
sort_best_selling: 'Best Selling',
|
|||
|
|
sort_price_asc: 'Price, Low to High',
|
|||
|
|
sort_price_desc: 'Price, High to Low',
|
|||
|
|
sort_date_new: 'Date, New to Old',
|
|||
|
|
|
|||
|
|
// Product Card
|
|||
|
|
add_to_cart: 'Add to Cart',
|
|||
|
|
quick_view: 'Quick View',
|
|||
|
|
reviews: 'reviews',
|
|||
|
|
save: 'SAVE',
|
|||
|
|
|
|||
|
|
// Pagination
|
|||
|
|
pagination_prev: 'Previous',
|
|||
|
|
pagination_next: 'Next',
|
|||
|
|
|
|||
|
|
// Footer
|
|||
|
|
footer_about: 'About Us',
|
|||
|
|
footer_about_us: 'About',
|
|||
|
|
footer_contact: 'Contact',
|
|||
|
|
footer_careers: 'Careers',
|
|||
|
|
footer_help: 'Help Center',
|
|||
|
|
footer_shipping: 'Shipping',
|
|||
|
|
footer_returns: 'Returns',
|
|||
|
|
footer_faq: 'FAQ',
|
|||
|
|
footer_service: 'Customer Service',
|
|||
|
|
footer_account: 'My Account',
|
|||
|
|
footer_orders: 'Orders',
|
|||
|
|
footer_track: 'Track Order',
|
|||
|
|
footer_follow: 'Follow Us',
|
|||
|
|
footer_copyright: '© 2024 Online Store. All rights reserved.',
|
|||
|
|
|
|||
|
|
// Product Badges
|
|||
|
|
badge_sale: 'SALE',
|
|||
|
|
badge_new: 'NEW',
|
|||
|
|
badge_hot: 'HOT',
|
|||
|
|
badge_out_of_stock: 'SOLD OUT',
|
|||
|
|
|
|||
|
|
// Home Page
|
|||
|
|
hero_title_1: 'Discover · Fun · Art',
|
|||
|
|
hero_subtitle_1: 'Educational toys for children aged 2-8',
|
|||
|
|
hero_title_2: 'Sitewide Sale',
|
|||
|
|
hero_subtitle_2: 'Up to 60% off',
|
|||
|
|
hero_title_3: 'New Arrivals',
|
|||
|
|
hero_subtitle_3: 'Discover More',
|
|||
|
|
hero_btn: 'Shop Now',
|
|||
|
|
feature_guarantee_title: '30 Day Money-Back Guarantee',
|
|||
|
|
feature_guarantee_desc: 'Worry-free shopping',
|
|||
|
|
feature_shipping_title: 'US Free Shipping Over $59',
|
|||
|
|
feature_shipping_desc: 'Nationwide delivery',
|
|||
|
|
feature_quality_title: 'High Quality and Safety',
|
|||
|
|
feature_quality_desc: 'Strict quality control',
|
|||
|
|
bestsellers_title: 'Bestsellers',
|
|||
|
|
view_all: 'View All →',
|
|||
|
|
shop_by_categories: 'Shop by Categories',
|
|||
|
|
cat_blocks: 'Building Blocks',
|
|||
|
|
cat_outdoor: 'Outdoor',
|
|||
|
|
fun_for_all_ages: 'Fun for All Ages',
|
|||
|
|
age_0_2: '0-2 years',
|
|||
|
|
age_3_4: '3-4 years',
|
|||
|
|
age_5_6: '5-6 years',
|
|||
|
|
age_7_plus: '7+ years',
|
|||
|
|
customer_reviews: 'Let customers speak for us',
|
|||
|
|
instagram_title: 'Express yourself with @mideer_toy',
|
|||
|
|
instagram_subtitle: '#Get inspiration from our latest instagram feed',
|
|||
|
|
quick_view_coming: 'Quick view coming soon...',
|
|||
|
|
|
|||
|
|
// Live Stream
|
|||
|
|
live_status: '🔴 LIVE',
|
|||
|
|
live_title: 'Live Stream Now',
|
|||
|
|
live_description: 'Watch product demos, Q&A, and exclusive offers',
|
|||
|
|
watch_live: 'Watch Now',
|
|||
|
|
live_page_title: 'vizee - Live Stream',
|
|||
|
|
live_video_title: 'Product Showcase Live',
|
|||
|
|
live_viewers: 'Viewers',
|
|||
|
|
live_likes: 'Likes',
|
|||
|
|
live_messages: 'Messages',
|
|||
|
|
live_description_title: 'About This Stream',
|
|||
|
|
live_description_text: 'Welcome to vizee live stream! Today we\'ll showcase our latest educational toys for children, including arts & crafts, puzzles, board games, and more. The host will introduce product features, usage tips, and answer your questions. Don\'t miss exclusive discounts and giveaways during the stream!',
|
|||
|
|
live_tab_chat: 'Chat',
|
|||
|
|
live_tab_products: 'Products',
|
|||
|
|
live_chat_placeholder: 'Send a message...',
|
|||
|
|
live_float_title: 'vizee Live Stream',
|
|||
|
|
live_float_name: 'vizee Official Live',
|
|||
|
|
live_float_desc: 'Official live stream, professional...',
|
|||
|
|
live_like: 'Like',
|
|||
|
|
live_danmaku: 'Danmaku',
|
|||
|
|
|
|||
|
|
// Login/Register Page
|
|||
|
|
login_page_title: 'vizee - Login/Register',
|
|||
|
|
login_title: 'Login',
|
|||
|
|
dont_have_account: 'Don\'t have an account yet?',
|
|||
|
|
create_account: 'Create account',
|
|||
|
|
already_have_account: 'Already have an account?',
|
|||
|
|
sign_in: 'SIGN IN',
|
|||
|
|
return_to_store: 'Return to Store',
|
|||
|
|
register_title: 'Register',
|
|||
|
|
email_label: 'Email',
|
|||
|
|
password_label: 'Password',
|
|||
|
|
confirm_password_label: 'Confirm Password',
|
|||
|
|
first_name_placeholder: 'Enter first name',
|
|||
|
|
last_name_placeholder: 'Enter last name',
|
|||
|
|
password_placeholder: 'Enter password',
|
|||
|
|
confirm_password_placeholder: 'Enter password again',
|
|||
|
|
remember_me: 'Remember me',
|
|||
|
|
forgot_password: 'Forgot password?',
|
|||
|
|
login_button: 'Login',
|
|||
|
|
register_button: 'Register',
|
|||
|
|
or_login_with: 'Or login with',
|
|||
|
|
wechat: 'WeChat',
|
|||
|
|
no_account: 'Don\'t have an account?',
|
|||
|
|
register_link: 'Register now',
|
|||
|
|
have_account: 'Already have an account?',
|
|||
|
|
login_link: 'Login now',
|
|||
|
|
agree_terms: 'I agree to the <a href="#">Terms of Service</a> and <a href="#">Privacy Policy</a>',
|
|||
|
|
please_fill_all_fields: 'Please fill in all fields',
|
|||
|
|
invalid_email: 'Please enter a valid email address',
|
|||
|
|
password_too_short: 'Password must be at least 6 characters',
|
|||
|
|
password_not_match: 'Passwords do not match',
|
|||
|
|
please_agree_terms: 'Please agree to the terms and privacy policy',
|
|||
|
|
email_already_registered: 'This email is already registered',
|
|||
|
|
register_success: 'Registration successful! Please login',
|
|||
|
|
login_success: 'Login successful!',
|
|||
|
|
login_failed: 'Incorrect email or password',
|
|||
|
|
feature_coming_soon: 'Feature coming soon...',
|
|||
|
|
logging_in: 'Logging in...',
|
|||
|
|
registering: 'Registering...',
|
|||
|
|
register_failed: 'Registration failed',
|
|||
|
|
|
|||
|
|
// Common Buttons
|
|||
|
|
confirm: 'Confirm',
|
|||
|
|
cancel: 'Cancel',
|
|||
|
|
ok: 'OK',
|
|||
|
|
yes: 'Yes',
|
|||
|
|
no: 'No',
|
|||
|
|
edit: 'Edit',
|
|||
|
|
edit_btn: 'Edit',
|
|||
|
|
set_btn: 'Set',
|
|||
|
|
not_set: 'Not set',
|
|||
|
|
|
|||
|
|
// Account Settings
|
|||
|
|
nickname_label: 'Username',
|
|||
|
|
phone_label: 'Phone',
|
|||
|
|
edit_nickname_title: 'Set Username',
|
|||
|
|
edit_email_title: 'Set Email',
|
|||
|
|
edit_phone_title: 'Set Phone',
|
|||
|
|
nickname_placeholder: 'Please enter username',
|
|||
|
|
phone_placeholder: 'Please enter phone number',
|
|||
|
|
nickname_required: 'Please enter username',
|
|||
|
|
email_required: 'Please enter email',
|
|||
|
|
phone_required: 'Please enter phone number',
|
|||
|
|
nickname_length_error: 'Username must be 2-20 characters',
|
|||
|
|
invalid_phone: 'Please enter valid phone number',
|
|||
|
|
update_success: 'Updated successfully',
|
|||
|
|
logout_confirm_title: 'Logout',
|
|||
|
|
logout_confirm_message: 'Are you sure you want to logout?',
|
|||
|
|
logout_success: 'Logged out successfully',
|
|||
|
|
|
|||
|
|
// User Center
|
|||
|
|
user_center_title: 'vizee - User Center',
|
|||
|
|
user_center: 'User Center',
|
|||
|
|
account_title: 'Account',
|
|||
|
|
order_history: 'Order history',
|
|||
|
|
account_details: 'Account details',
|
|||
|
|
no_orders_placed: 'You haven\'t placed any orders yet.',
|
|||
|
|
default_location: 'United States',
|
|||
|
|
view_addresses: 'View addresses',
|
|||
|
|
order_number: 'Order No:',
|
|||
|
|
order_total: 'Total:',
|
|||
|
|
view_details: 'View Details',
|
|||
|
|
overview: 'Overview',
|
|||
|
|
my_orders: 'My Orders',
|
|||
|
|
addresses: 'Addresses',
|
|||
|
|
favorites_count: 'Favorites',
|
|||
|
|
settings: 'Settings',
|
|||
|
|
logout: 'Logout',
|
|||
|
|
total_orders: 'Total Orders',
|
|||
|
|
cart_items: 'Cart Items',
|
|||
|
|
recent_orders: 'Recent Orders',
|
|||
|
|
no_orders_yet: 'No orders yet',
|
|||
|
|
start_shopping: 'Start Shopping',
|
|||
|
|
no_addresses: 'No addresses yet',
|
|||
|
|
add_address: 'Add New Address',
|
|||
|
|
no_favorites: 'No favorites yet',
|
|||
|
|
browse_products: 'Browse Products',
|
|||
|
|
save_changes: 'Save Changes',
|
|||
|
|
save_success: 'Saved successfully!',
|
|||
|
|
|
|||
|
|
// Product Detail
|
|||
|
|
quantity_label: 'Quantity:',
|
|||
|
|
buy_now: 'Buy Now',
|
|||
|
|
feature_shipping: 'Free Shipping Over $59',
|
|||
|
|
feature_return: '30 Day Money-Back Guarantee',
|
|||
|
|
feature_quality: 'High Quality and Safety',
|
|||
|
|
description_title: 'Description',
|
|||
|
|
share_label: 'Share:',
|
|||
|
|
tab_details: 'Product Details',
|
|||
|
|
tab_reviews: 'Reviews',
|
|||
|
|
tab_shipping: 'Shipping & Returns',
|
|||
|
|
details_specifications: 'Specifications',
|
|||
|
|
spec_age: 'Age:',
|
|||
|
|
spec_material: 'Material:',
|
|||
|
|
spec_size: 'Size:',
|
|||
|
|
spec_weight: 'Weight:',
|
|||
|
|
shipping_info_title: 'Shipping Information',
|
|||
|
|
shipping_info_desc: 'Free shipping on orders over $59 in the US, typically delivered within 3-5 business days.',
|
|||
|
|
return_policy_title: 'Return Policy',
|
|||
|
|
return_policy_desc: '30-day money-back guarantee, items must be in new and unused condition.',
|
|||
|
|
related_products: 'Related Products',
|
|||
|
|
|
|||
|
|
// Cart Page
|
|||
|
|
cart_title: 'vizee - Cart',
|
|||
|
|
cart_page_title: 'Cart',
|
|||
|
|
return_to_shop: 'Return to shop',
|
|||
|
|
cart_empty_message: 'Your cart is empty',
|
|||
|
|
continue_shopping: 'Continue Shopping',
|
|||
|
|
product: 'Product',
|
|||
|
|
price: 'Price',
|
|||
|
|
quantity: 'Quantity',
|
|||
|
|
total: 'Total',
|
|||
|
|
remove: 'Remove',
|
|||
|
|
cart_totals: 'Cart Totals',
|
|||
|
|
subtotal: 'Subtotal',
|
|||
|
|
discount: 'Discount',
|
|||
|
|
black_friday_promo: 'Black Friday Presale (-$16.49)',
|
|||
|
|
shipping: 'Shipping',
|
|||
|
|
free: 'FREE',
|
|||
|
|
free_shipping_notice: 'Spend $9.52 more after discount to reach free shipping',
|
|||
|
|
proceed_to_checkout: 'Proceed to Checkout',
|
|||
|
|
you_may_also_like: 'You May Also Like',
|
|||
|
|
product_added_to_cart: 'Product added to cart',
|
|||
|
|
badge_sale: 'Sale',
|
|||
|
|
badge_new: 'New',
|
|||
|
|
badge_hot: 'Hot',
|
|||
|
|
|
|||
|
|
// Checkout Page
|
|||
|
|
checkout_title: 'Checkout',
|
|||
|
|
express_checkout: 'Express checkout',
|
|||
|
|
or: 'OR',
|
|||
|
|
email_placeholder: 'Email',
|
|||
|
|
email_offers: 'Email me with news and offers',
|
|||
|
|
delivery: 'Delivery',
|
|||
|
|
country_region: 'Country/Region',
|
|||
|
|
country_us: 'United States',
|
|||
|
|
country_cn: 'China',
|
|||
|
|
country_jp: 'Japan',
|
|||
|
|
first_name: 'First name',
|
|||
|
|
last_name: 'Last name',
|
|||
|
|
address: 'Address',
|
|||
|
|
address_placeholder: 'Search address',
|
|||
|
|
apartment: 'Apartment, suite, etc. (optional)',
|
|||
|
|
city: 'City',
|
|||
|
|
state: 'State',
|
|||
|
|
select_state: 'Select state',
|
|||
|
|
zip_code: 'ZIP code',
|
|||
|
|
phone: 'Phone',
|
|||
|
|
use_saved_address: 'Use a saved address',
|
|||
|
|
text_offers: 'Text me with news & offers',
|
|||
|
|
shipping_method: 'Shipping method',
|
|||
|
|
shipping_notice: 'Enter your shipping address to view available shipping methods.',
|
|||
|
|
payment: 'Payment',
|
|||
|
|
payment_secure: 'All transactions are secure and encrypted.',
|
|||
|
|
credit_card: 'Credit card',
|
|||
|
|
card_number: 'Card number',
|
|||
|
|
card_number_placeholder: '1234 5678 9012 3456',
|
|||
|
|
expiration: 'Expiration date (MM / YY)',
|
|||
|
|
expiration_placeholder: 'MM / YY',
|
|||
|
|
security_code: 'Security code',
|
|||
|
|
security_placeholder: 'CVV',
|
|||
|
|
pay_now: 'Pay now',
|
|||
|
|
order_summary: 'Order Summary',
|
|||
|
|
discount_code: 'Discount code or gift card',
|
|||
|
|
apply: 'Apply',
|
|||
|
|
subtotal: 'Subtotal',
|
|||
|
|
order_discount: 'Order discount',
|
|||
|
|
shipping: 'Shipping',
|
|||
|
|
enter_address: 'Enter shipping address',
|
|||
|
|
total: 'Total',
|
|||
|
|
total_savings: 'TOTAL SAVINGS',
|
|||
|
|
continue_shopping: 'Continue Shopping',
|
|||
|
|
enter_discount_code: 'Please enter discount code',
|
|||
|
|
discount_applied: 'Discount code applied!',
|
|||
|
|
invalid_email: 'Please enter a valid email address',
|
|||
|
|
required_name: 'Please enter your name',
|
|||
|
|
required_address: 'Please fill in complete shipping address',
|
|||
|
|
required_phone: 'Please enter contact phone',
|
|||
|
|
required_payment: 'Please fill in complete payment information',
|
|||
|
|
payment_success: 'Payment successful! Order created.',
|
|||
|
|
free: 'FREE'
|
|||
|
|
},
|
|||
|
|
|
|||
|
|
'ja-JP': {
|
|||
|
|
// サイトタイトル
|
|||
|
|
site_title: 'vizee - プレミアムセレクション',
|
|||
|
|
site_name: 'vizee',
|
|||
|
|
|
|||
|
|
// プロモーションバナー
|
|||
|
|
promo_banner: '最大60%オフ',
|
|||
|
|
announcement_1: '🚚 $59以上で送料無料',
|
|||
|
|
announcement_2: '🔥 ファイナルセール | このチャンスをお見逃しなく',
|
|||
|
|
announcement_3: '💰 サイト全体 | 全商品25%オフ',
|
|||
|
|
banner_sale: '最大60%オフ',
|
|||
|
|
|
|||
|
|
// ナビゲーション
|
|||
|
|
nav_home: 'ホーム',
|
|||
|
|
nav_all_products: 'すべての商品',
|
|||
|
|
nav_arts_crafts: '工芸品',
|
|||
|
|
nav_puzzles: 'パズル',
|
|||
|
|
nav_board_games: 'ボードゲーム',
|
|||
|
|
nav_new_arrivals: '新着',
|
|||
|
|
|
|||
|
|
// 検索
|
|||
|
|
search_placeholder: '商品を検索...',
|
|||
|
|
search_results_title: '検索結果 - vizee',
|
|||
|
|
search_results_for: '検索結果',
|
|||
|
|
search_results_text: '',
|
|||
|
|
search_no_results: '商品が見つかりませんでした',
|
|||
|
|
search_try_again: '他のキーワードを試すか、すべての商品を閲覧してください',
|
|||
|
|
browse_all_products: 'すべての商品を見る',
|
|||
|
|
sort_default: 'デフォルト',
|
|||
|
|
error_price_range: '最低価格は最高価格より大きくできません',
|
|||
|
|
error_load_products: '商品の読み込みに失敗しました',
|
|||
|
|
add_to_cart_success: 'カートに追加しました',
|
|||
|
|
add_to_cart_failed: 'カートへの追加に失敗しました',
|
|||
|
|
please_login_first: 'ログインしてください',
|
|||
|
|
sales_count: '販売',
|
|||
|
|
loading: '読み込み中...',
|
|||
|
|
in_stock: '在庫あり',
|
|||
|
|
out_of_stock: '在庫なし',
|
|||
|
|
|
|||
|
|
// フィルター
|
|||
|
|
filter_title: 'フィルター',
|
|||
|
|
filter_availability: '在庫状況',
|
|||
|
|
filter_in_stock: '在庫あり',
|
|||
|
|
filter_out_of_stock: '在庫切れ',
|
|||
|
|
filter_price: '価格帯',
|
|||
|
|
filter_category: 'カテゴリー',
|
|||
|
|
cat_arts: '工芸品',
|
|||
|
|
cat_puzzles: 'パズル',
|
|||
|
|
cat_games: 'ボードゲーム',
|
|||
|
|
cat_magnetic: 'マグネットタイル',
|
|||
|
|
btn_apply: '適用',
|
|||
|
|
btn_clear: 'クリア',
|
|||
|
|
|
|||
|
|
// 商品リスト
|
|||
|
|
all_products_title: 'すべての商品',
|
|||
|
|
products_text: '商品',
|
|||
|
|
sort_by: '並び替え:',
|
|||
|
|
sort_featured: 'おすすめ',
|
|||
|
|
sort_best_selling: 'ベストセラー',
|
|||
|
|
sort_price_asc: '価格の安い順',
|
|||
|
|
sort_price_desc: '価格の高い順',
|
|||
|
|
sort_date_new: '新着順',
|
|||
|
|
|
|||
|
|
// 商品カード
|
|||
|
|
add_to_cart: 'カートに追加',
|
|||
|
|
quick_view: 'クイックビュー',
|
|||
|
|
reviews: 'レビュー',
|
|||
|
|
save: '節約',
|
|||
|
|
|
|||
|
|
// ページネーション
|
|||
|
|
pagination_prev: '前へ',
|
|||
|
|
pagination_next: '次へ',
|
|||
|
|
|
|||
|
|
// フッター
|
|||
|
|
footer_about: '会社情報',
|
|||
|
|
footer_about_us: '会社概要',
|
|||
|
|
footer_contact: 'お問い合わせ',
|
|||
|
|
footer_careers: '採用情報',
|
|||
|
|
footer_help: 'ヘルプセンター',
|
|||
|
|
footer_shipping: '配送について',
|
|||
|
|
footer_returns: '返品・交換',
|
|||
|
|
footer_faq: 'よくある質問',
|
|||
|
|
footer_service: 'カスタマーサービス',
|
|||
|
|
footer_account: 'アカウント',
|
|||
|
|
footer_orders: '注文履歴',
|
|||
|
|
footer_track: '配送状況',
|
|||
|
|
footer_follow: 'フォロー',
|
|||
|
|
footer_copyright: '© 2024 オンラインストア. 全著作権所有.',
|
|||
|
|
|
|||
|
|
// 商品バッジ
|
|||
|
|
badge_sale: 'セール',
|
|||
|
|
badge_new: '新着',
|
|||
|
|
badge_hot: '人気',
|
|||
|
|
badge_out_of_stock: '在庫切れ',
|
|||
|
|
|
|||
|
|
// ホームページ
|
|||
|
|
hero_title_1: '探索·楽しさ·アート',
|
|||
|
|
hero_subtitle_1: '2-8歳の子供向け知育玩具',
|
|||
|
|
hero_title_2: '全品セール',
|
|||
|
|
hero_subtitle_2: '最大60%オフ',
|
|||
|
|
hero_title_3: '新着商品',
|
|||
|
|
hero_subtitle_3: 'もっと発見',
|
|||
|
|
hero_btn: '今すぐ購入',
|
|||
|
|
feature_guarantee_title: '30日間返金保証',
|
|||
|
|
feature_guarantee_desc: '安心してお買い物',
|
|||
|
|
feature_shipping_title: '$59以上で送料無料',
|
|||
|
|
feature_shipping_desc: '全国配送',
|
|||
|
|
feature_quality_title: '高品質と安全性',
|
|||
|
|
feature_quality_desc: '厳格な品質管理',
|
|||
|
|
bestsellers_title: 'ベストセラー',
|
|||
|
|
view_all: 'すべて見る →',
|
|||
|
|
shop_by_categories: 'カテゴリーで探す',
|
|||
|
|
cat_blocks: 'ブロック',
|
|||
|
|
cat_outdoor: 'アウトドア',
|
|||
|
|
fun_for_all_ages: 'すべての年齢に対応',
|
|||
|
|
age_0_2: '0-2歳',
|
|||
|
|
age_3_4: '3-4歳',
|
|||
|
|
age_5_6: '5-6歳',
|
|||
|
|
age_7_plus: '7歳以上',
|
|||
|
|
customer_reviews: 'お客様の声',
|
|||
|
|
instagram_title: 'インスタグラムをフォロー',
|
|||
|
|
instagram_subtitle: '#最新のインスピレーションを',
|
|||
|
|
quick_view_coming: 'クイックビュー機能開発中...',
|
|||
|
|
|
|||
|
|
// ライブ配信
|
|||
|
|
live_status: '🔴 ライブ中',
|
|||
|
|
live_title: 'ライブ配信中',
|
|||
|
|
live_description: '商品デモ、Q&A、特別オファーを視聴',
|
|||
|
|
watch_live: '今すぐ視聴',
|
|||
|
|
live_page_title: 'vizee - ライブ配信',
|
|||
|
|
live_video_title: '商品紹介ライブ',
|
|||
|
|
live_viewers: '視聴者',
|
|||
|
|
live_likes: 'いいね',
|
|||
|
|
live_messages: 'メッセージ',
|
|||
|
|
live_description_title: '配信について',
|
|||
|
|
live_description_text: 'vizeeライブ配信へようこそ!今日は最新の子供向け知育玩具を紹介します。アート&クラフト、パズル、ボードゲームなど。ホストが製品の特徴、使い方を詳しく説明し、質問に答えます。配信中の限定割引やプレゼントをお見逃しなく!',
|
|||
|
|
live_tab_chat: 'チャット',
|
|||
|
|
live_tab_products: '商品',
|
|||
|
|
live_chat_placeholder: 'メッセージを送信...',
|
|||
|
|
live_float_title: 'vizeeライブ配信',
|
|||
|
|
live_float_name: 'vizee公式ライブ',
|
|||
|
|
live_float_desc: '公式ライブ配信、専門...',
|
|||
|
|
live_like: 'いいね',
|
|||
|
|
live_danmaku: '弾幕',
|
|||
|
|
|
|||
|
|
// ログイン/登録ページ
|
|||
|
|
login_page_title: 'vizee - ログイン/登録',
|
|||
|
|
login_title: 'ログイン',
|
|||
|
|
dont_have_account: 'まだアカウントがありませんか?',
|
|||
|
|
create_account: 'アカウントを作成',
|
|||
|
|
already_have_account: '既にアカウントをお持ちですか?',
|
|||
|
|
sign_in: 'ログイン',
|
|||
|
|
return_to_store: 'ストアに戻る',
|
|||
|
|
register_title: '登録',
|
|||
|
|
email_label: 'メール',
|
|||
|
|
password_label: 'パスワード',
|
|||
|
|
confirm_password_label: 'パスワード確認',
|
|||
|
|
first_name_placeholder: '名を入力',
|
|||
|
|
last_name_placeholder: '姓を入力',
|
|||
|
|
password_placeholder: 'パスワードを入力',
|
|||
|
|
confirm_password_placeholder: 'パスワードを再入力',
|
|||
|
|
remember_me: 'ログイン状態を保持',
|
|||
|
|
forgot_password: 'パスワードを忘れましたか?',
|
|||
|
|
login_button: 'ログイン',
|
|||
|
|
register_button: '登録',
|
|||
|
|
or_login_with: 'または次の方法でログイン',
|
|||
|
|
wechat: 'WeChat',
|
|||
|
|
no_account: 'アカウントがありませんか?',
|
|||
|
|
register_link: '今すぐ登録',
|
|||
|
|
have_account: '既にアカウントをお持ちですか?',
|
|||
|
|
login_link: '今すぐログイン',
|
|||
|
|
agree_terms: '<a href="#">利用規約</a>および<a href="#">プライバシーポリシー</a>に同意します',
|
|||
|
|
please_fill_all_fields: 'すべてのフィールドを入力してください',
|
|||
|
|
invalid_email: '有効なメールアドレスを入力してください',
|
|||
|
|
password_too_short: 'パスワードは6文字以上必要です',
|
|||
|
|
password_not_match: 'パスワードが一致しません',
|
|||
|
|
please_agree_terms: '利用規約とプライバシーポリシーに同意してください',
|
|||
|
|
email_already_registered: 'このメールアドレスは既に登録されています',
|
|||
|
|
register_success: '登録成功!ログインしてください',
|
|||
|
|
login_success: 'ログイン成功!',
|
|||
|
|
login_failed: 'メールまたはパスワードが間違っています',
|
|||
|
|
feature_coming_soon: '機能開発中...',
|
|||
|
|
logging_in: 'ログイン中...',
|
|||
|
|
registering: '登録中...',
|
|||
|
|
register_failed: '登録失敗',
|
|||
|
|
|
|||
|
|
// 共通ボタン
|
|||
|
|
confirm: '確認',
|
|||
|
|
cancel: 'キャンセル',
|
|||
|
|
ok: 'OK',
|
|||
|
|
yes: 'はい',
|
|||
|
|
no: 'いいえ',
|
|||
|
|
edit: '編集',
|
|||
|
|
edit_btn: '編集',
|
|||
|
|
set_btn: '設定',
|
|||
|
|
not_set: '未設定',
|
|||
|
|
|
|||
|
|
// アカウント設定
|
|||
|
|
nickname_label: 'ユーザー名',
|
|||
|
|
phone_label: '電話番号',
|
|||
|
|
edit_nickname_title: 'ユーザー名を設定',
|
|||
|
|
edit_email_title: 'メールを設定',
|
|||
|
|
edit_phone_title: '電話番号を設定',
|
|||
|
|
nickname_placeholder: 'ユーザー名を入力',
|
|||
|
|
phone_placeholder: '電話番号を入力',
|
|||
|
|
nickname_required: 'ユーザー名を入力してください',
|
|||
|
|
email_required: 'メールを入力してください',
|
|||
|
|
phone_required: '電話番号を入力してください',
|
|||
|
|
nickname_length_error: 'ユーザー名は2~20文字必要です',
|
|||
|
|
invalid_phone: '有効な電話番号を入力してください',
|
|||
|
|
update_success: '更新成功',
|
|||
|
|
logout_confirm_title: 'ログアウト',
|
|||
|
|
logout_confirm_message: 'ログアウトしてもよろしいですか?',
|
|||
|
|
logout_success: 'ログアウトしました',
|
|||
|
|
|
|||
|
|
// ユーザーセンター
|
|||
|
|
user_center_title: 'vizee - ユーザーセンター',
|
|||
|
|
user_center: 'ユーザーセンター',
|
|||
|
|
account_title: 'アカウント',
|
|||
|
|
order_history: '注文履歴',
|
|||
|
|
account_details: 'アカウント詳細',
|
|||
|
|
no_orders_placed: 'まだ注文をしたことがありません。',
|
|||
|
|
default_location: '日本',
|
|||
|
|
view_addresses: '住所を表示',
|
|||
|
|
order_number: '注文番号:',
|
|||
|
|
order_total: '合計:',
|
|||
|
|
view_details: '詳細を表示',
|
|||
|
|
overview: '概要',
|
|||
|
|
my_orders: '注文履歴',
|
|||
|
|
addresses: '配送先住所',
|
|||
|
|
favorites_count: 'お気に入り',
|
|||
|
|
settings: 'アカウント設定',
|
|||
|
|
logout: 'ログアウト',
|
|||
|
|
total_orders: '総注文数',
|
|||
|
|
cart_items: 'カート商品',
|
|||
|
|
recent_orders: '最近の注文',
|
|||
|
|
no_orders_yet: 'まだ注文がありません',
|
|||
|
|
start_shopping: 'ショッピングを始める',
|
|||
|
|
no_addresses: 'まだ住所がありません',
|
|||
|
|
add_address: '新しい住所を追加',
|
|||
|
|
no_favorites: 'まだお気に入りがありません',
|
|||
|
|
browse_products: '商品を閲覧',
|
|||
|
|
save_changes: '変更を保存',
|
|||
|
|
save_success: '保存成功!',
|
|||
|
|
|
|||
|
|
// 商品詳細
|
|||
|
|
quantity_label: '数量:',
|
|||
|
|
buy_now: '今すぐ購入',
|
|||
|
|
feature_shipping: '$59以上で送料無料',
|
|||
|
|
feature_return: '30日間返金保証',
|
|||
|
|
feature_quality: '高品質と安全性',
|
|||
|
|
description_title: '商品説明',
|
|||
|
|
share_label: 'シェア:',
|
|||
|
|
tab_details: '製品詳細',
|
|||
|
|
tab_reviews: 'レビュー',
|
|||
|
|
tab_shipping: '配送と返品',
|
|||
|
|
details_specifications: '仕様',
|
|||
|
|
spec_age: '対象年齢:',
|
|||
|
|
spec_material: '素材:',
|
|||
|
|
spec_size: 'サイズ:',
|
|||
|
|
spec_weight: '重量:',
|
|||
|
|
shipping_info_title: '配送情報',
|
|||
|
|
shipping_info_desc: '$59以上の注文で米国内送料無料、通常3~5営業日で配送。',
|
|||
|
|
return_policy_title: '返品ポリシー',
|
|||
|
|
return_policy_desc: '30日間返金保証、商品は新品未使用状態である必要があります。',
|
|||
|
|
related_products: '関連商品',
|
|||
|
|
|
|||
|
|
// カートページ
|
|||
|
|
cart_title: 'vizee - カート',
|
|||
|
|
cart_page_title: 'カート',
|
|||
|
|
return_to_shop: 'ショップに戻る',
|
|||
|
|
cart_empty_message: 'カートは空です',
|
|||
|
|
continue_shopping: 'ショッピングを続ける',
|
|||
|
|
product: '商品',
|
|||
|
|
price: '価格',
|
|||
|
|
quantity: '数量',
|
|||
|
|
total: '合計',
|
|||
|
|
remove: '削除',
|
|||
|
|
cart_totals: 'カート合計',
|
|||
|
|
subtotal: '小計',
|
|||
|
|
discount: '割引',
|
|||
|
|
black_friday_promo: 'ブラックフライデー予約セール (-$16.49)',
|
|||
|
|
shipping: '送料',
|
|||
|
|
free: '無料',
|
|||
|
|
free_shipping_notice: 'あと$9.52で送料無料',
|
|||
|
|
proceed_to_checkout: 'お支払いに進む',
|
|||
|
|
you_may_also_like: 'おすすめ商品',
|
|||
|
|
product_added_to_cart: '商品がカートに追加されました',
|
|||
|
|
badge_sale: 'セール',
|
|||
|
|
badge_new: '新着',
|
|||
|
|
badge_hot: '人気',
|
|||
|
|
|
|||
|
|
// チェックアウトページ
|
|||
|
|
checkout_title: 'チェックアウト',
|
|||
|
|
express_checkout: '高速チェックアウト',
|
|||
|
|
or: 'または',
|
|||
|
|
email_placeholder: 'メール',
|
|||
|
|
email_offers: 'ニュースとオファーをメールで受け取る',
|
|||
|
|
delivery: '配送情報',
|
|||
|
|
country_region: '国/地域',
|
|||
|
|
country_us: 'アメリカ',
|
|||
|
|
country_cn: '中国',
|
|||
|
|
country_jp: '日本',
|
|||
|
|
first_name: '名',
|
|||
|
|
last_name: '姓',
|
|||
|
|
address: '住所',
|
|||
|
|
address_placeholder: '住所を検索',
|
|||
|
|
apartment: 'アパート、スイートなど(オプション)',
|
|||
|
|
city: '市区町村',
|
|||
|
|
state: '都道府県',
|
|||
|
|
select_state: '都道府県を選択',
|
|||
|
|
zip_code: '郵便番号',
|
|||
|
|
phone: '電話番号',
|
|||
|
|
use_saved_address: '保存された住所を使用',
|
|||
|
|
text_offers: 'SMSでニュースとオファーを受け取る',
|
|||
|
|
shipping_method: '配送方法',
|
|||
|
|
shipping_notice: '配送先住所を入力して、利用可能な配送方法を表示してください。',
|
|||
|
|
payment: '支払い方法',
|
|||
|
|
payment_secure: 'すべての取引は安全に暗号化されています。',
|
|||
|
|
credit_card: 'クレジットカード',
|
|||
|
|
card_number: 'カード番号',
|
|||
|
|
card_number_placeholder: '1234 5678 9012 3456',
|
|||
|
|
expiration: '有効期限 (MM / YY)',
|
|||
|
|
expiration_placeholder: 'MM / YY',
|
|||
|
|
security_code: 'セキュリティコード',
|
|||
|
|
security_placeholder: 'CVV',
|
|||
|
|
pay_now: '今すぐ支払う',
|
|||
|
|
order_summary: '注文概要',
|
|||
|
|
discount_code: '割引コードまたはギフトカード',
|
|||
|
|
apply: '適用',
|
|||
|
|
subtotal: '小計',
|
|||
|
|
order_discount: '注文割引',
|
|||
|
|
shipping: '送料',
|
|||
|
|
enter_address: '配送先住所を入力',
|
|||
|
|
total: '合計',
|
|||
|
|
total_savings: '総節約額',
|
|||
|
|
continue_shopping: 'ショッピングを続ける',
|
|||
|
|
enter_discount_code: '割引コードを入力してください',
|
|||
|
|
discount_applied: '割引コードが適用されました!',
|
|||
|
|
invalid_email: '有効なメールアドレスを入力してください',
|
|||
|
|
required_name: '名前を入力してください',
|
|||
|
|
required_address: '完全な配送先住所を入力してください',
|
|||
|
|
required_phone: '連絡先電話番号を入力してください',
|
|||
|
|
required_payment: '完全な支払い情報を入力してください',
|
|||
|
|
payment_success: '支払い成功!注文が作成されました。',
|
|||
|
|
free: '無料'
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
|
|||
|
|
// 根据域名获取默认语言
|
|||
|
|
getDefaultLanguageByDomain() {
|
|||
|
|
const hostname = window.location.hostname;
|
|||
|
|
|
|||
|
|
// gvizee.com 域名默认使用英文
|
|||
|
|
if (hostname === 'gvizee.com' || hostname === 'www.gvizee.com') {
|
|||
|
|
return 'en-US';
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
// 其他域名默认使用中文
|
|||
|
|
return 'zh-CN';
|
|||
|
|
},
|
|||
|
|
|
|||
|
|
// 初始化
|
|||
|
|
init() {
|
|||
|
|
// 从localStorage获取保存的语言
|
|||
|
|
const savedLang = localStorage.getItem('language');
|
|||
|
|
if (savedLang && this.messages[savedLang]) {
|
|||
|
|
this.currentLang = savedLang;
|
|||
|
|
} else {
|
|||
|
|
// 如果没有保存的语言偏好,根据域名设置默认语言
|
|||
|
|
this.currentLang = this.getDefaultLanguageByDomain();
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
// 设置语言选择器的默认值
|
|||
|
|
const $languageSelect = $('#languageSelect');
|
|||
|
|
if ($languageSelect.length > 0) {
|
|||
|
|
$languageSelect.val(this.currentLang);
|
|||
|
|
|
|||
|
|
// 监听语言切换
|
|||
|
|
$languageSelect.on('change', (e) => {
|
|||
|
|
this.setLanguage(e.target.value);
|
|||
|
|
});
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
// 翻译页面
|
|||
|
|
this.translatePage();
|
|||
|
|
|
|||
|
|
// 输出当前语言信息(调试用)
|
|||
|
|
console.log('[i18n] 当前语言:', this.currentLang);
|
|||
|
|
console.log('[i18n] 域名:', window.location.hostname);
|
|||
|
|
},
|
|||
|
|
|
|||
|
|
// 设置语言
|
|||
|
|
setLanguage(lang) {
|
|||
|
|
if (!this.messages[lang]) {
|
|||
|
|
console.error('Language not supported:', lang);
|
|||
|
|
return;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
this.currentLang = lang;
|
|||
|
|
localStorage.setItem('language', lang);
|
|||
|
|
|
|||
|
|
// 同步更新语言选择器
|
|||
|
|
const $languageSelect = $('#languageSelect');
|
|||
|
|
if ($languageSelect.length > 0 && $languageSelect.val() !== lang) {
|
|||
|
|
$languageSelect.val(lang);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
// 翻译页面
|
|||
|
|
this.translatePage();
|
|||
|
|
|
|||
|
|
// 触发语言切换事件
|
|||
|
|
$(document).trigger('languageChanged', [lang]);
|
|||
|
|
|
|||
|
|
console.log('[i18n] 语言已切换为:', lang);
|
|||
|
|
},
|
|||
|
|
|
|||
|
|
// 获取翻译
|
|||
|
|
t(key) {
|
|||
|
|
const messages = this.messages[this.currentLang];
|
|||
|
|
return messages[key] || key;
|
|||
|
|
},
|
|||
|
|
|
|||
|
|
// 翻译页面
|
|||
|
|
translatePage() {
|
|||
|
|
const messages = this.messages[this.currentLang];
|
|||
|
|
|
|||
|
|
// 更新文档标题
|
|||
|
|
document.title = messages.site_title;
|
|||
|
|
|
|||
|
|
// 翻译所有带data-i18n属性的元素
|
|||
|
|
$('[data-i18n]').each(function() {
|
|||
|
|
const key = $(this).attr('data-i18n');
|
|||
|
|
const translation = messages[key];
|
|||
|
|
if (translation) {
|
|||
|
|
$(this).text(translation);
|
|||
|
|
}
|
|||
|
|
});
|
|||
|
|
|
|||
|
|
// 翻译placeholder
|
|||
|
|
$('[data-i18n-placeholder]').each(function() {
|
|||
|
|
const key = $(this).attr('data-i18n-placeholder');
|
|||
|
|
const translation = messages[key];
|
|||
|
|
if (translation) {
|
|||
|
|
$(this).attr('placeholder', translation);
|
|||
|
|
}
|
|||
|
|
});
|
|||
|
|
|
|||
|
|
// 翻译select的option
|
|||
|
|
$('select option[data-i18n]').each(function() {
|
|||
|
|
const key = $(this).attr('data-i18n');
|
|||
|
|
const translation = messages[key];
|
|||
|
|
if (translation) {
|
|||
|
|
$(this).text(translation);
|
|||
|
|
}
|
|||
|
|
});
|
|||
|
|
}
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
// 页面加载完成后初始化
|
|||
|
|
$(document).ready(function() {
|
|||
|
|
i18n.init();
|
|||
|
|
});
|