求助 rails大神

梧桐冷雨 2017-09-12 09:02:21
最近公司在搞rails config里有个国际化文件
但是全是中文想要翻译成中文 大神们有没有什么好的方法

内容是这样的有1500行

included_price_validation: cannot be selected unless you have set a Default Tax Zone
incomplete: Incomplete
info_product_has_multiple_skus: "This product has %{count} variants:"
info_number_of_skus_not_shown:
one: "and one other"
other: "and %{count} others"
instructions_to_reset_password: Please enter your email on the form below
insufficient_stock: Insufficient stock available, only %{on_hand} remaining
insufficient_stock_lines_present: Some line items in this order have insufficient quantity.
intercept_email_address: Intercept Email Address
intercept_email_instructions: Override email recipient and replace with this address.
internal_name: Internal Name
invalid_credit_card: Invalid credit card.
invalid_exchange_variant: Invalid exchange variant.
invalid_payment_provider: Invalid payment provider.
invalid_promotion_action: Invalid promotion action.
invalid_promotion_rule: Invalid promotion rule.
inventory: Inventory
inventory_adjustment: Inventory Adjustment
inventory_error_flash_for_insufficient_quantity: An item in your cart has become unavailable.
inventory_state: Inventory State
is_not_available_to_shipment_address: is not available to shipment address
iso_name: Iso Name
issued_on: Issued On
item: Item
item_description: Item Description
item_total: Item Total
item_total_rule:
operators:
gt: greater than
gte: greater than or equal to
lt: less than
lte: less than or equal to
items_cannot_be_shipped: We are unable to calculate shipping rates for the selected items.
items_in_rmas: Items in Return Authorizations
items_to_be_reimbursed: Items to be reimbursed
items_reimbursed: Items reimbursed
jirafe: Jirafe
last_name: Last Name
last_name_begins_with: Last Name Begins With
learn_more: Learn More
lifetime_stats: Lifetime Stats
line_item_adjustments: "Line item adjustments"
list: List
loading: Loading
loading_tree: Loading tree. Please wait…
locale_changed: Locale Changed
location: Location
lock: Lock
log_entries: "Log Entries"
logs: "Logs"
logged_in_as: Logged in as
logged_in_succesfully: Logged in successfully
logged_out: You have been logged out.
login: 登录

都要最后这个样子的 前面的不换 ":"后面的换成中文

...全文
390 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

6,721

社区成员

发帖
与我相关
我的任务
社区描述
专题开发/技术/项目 Google技术社区
社区管理员
  • Google技术社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧