today_ai_weather/config/locales/en.yml
songtianlun bd04bb63a1 feat: add support for multiple languages
- Update available locales to include Bengali, Hindi, Urdu, and Arabic
- Add new locale files for each language with translations for UI elements
- Ensure the application can now support a wider audience by providing
  localized content

This change enhances the application's accessibility and usability for
users who speak these languages, allowing for a more inclusive user
experience. The new translations cover key UI components and messages,
ensuring that users can interact with the application in their native
languages.
2025-02-24 17:04:23 +08:00

118 lines
3.7 KiB
YAML

# Files in the config/locales directory are used for internationalization and
# are automatically loaded by Rails. If you want to use locales other than
# English, add the necessary files in this directory.
#
# To use the locales, use `I18n.t`:
#
# I18n.t "hello"
#
# In views, this is aliased to just `t`:
#
# <%= t("hello") %>
#
# To use a different locale, set it with `I18n.locale`:
#
# I18n.locale = :es
#
# This would use the information in config/locales/es.yml.
#
# To learn more about the API, please read the Rails Internationalization guide
# at https://guides.rubyonrails.org/i18n.html.
#
# Be aware that YAML interprets the following case-insensitive strings as
# booleans: `true`, `false`, `on`, `off`, `yes`, `no`. Therefore, these strings
# must be quoted to be interpreted as strings. For example:
#
# en:
# "yes": yup
# enabled: "ON"
en:
language:
en: "English"
zh-CN: "简体中文"
ja: "日本語"
ko: "한국어" # 韩语
pt-BR: "Português (Brasil)" # 巴西葡萄牙语
pt: "Português" # 葡萄牙语
hr: "Hrvatski" # 克罗地亚语
fa: "فارسی" # 波斯语(法尔西语)
de: "Deutsch" # 德语
es: "Español" # 西班牙语
fr: "Français" # 法语
it: "Italiano" # 意大利语
tr: "Türkçe" # 土耳其语
ru: "Русский" # 俄语
uk: "Українська" # 乌克兰语
pl: "Polski" # 波兰语
bn: "বাংলা" # 孟加拉
hi: "हिंदी" # 印地语
ur: " اردو" # 乌尔都语
ar: "العربية" # 阿拉伯
hello: "Hello world"
brand:
name: "Today AI Weather"
title:
cities: "Cities"
arts: "Arts"
sign_in: "Sign in"
sign_out: "Sign out"
settings: "Settings"
admin_dashboard: "Admin Dashboard"
latest_weather_art: "Latest Weather Art"
popular_weather_art: "Popular Weather Art"
ai_prompt: "AI Prompt"
text:
latest_from: "Latest from"
search_cities: "Search cities..."
all_regions: "All Regions"
all_countries: "All Countries"
all_in: "All in"
showing: "Showing"
weather_arts: "Weather Arts"
newest_first: "Newest First"
oldest_first: "Oldest First"
cities:
title: "Explore Cities"
arts:
title: "Weather Arts Gallery"
subtitle: "Discover AI-generated weather art from cities around the world"
home:
headline_html: Where Weather Meets<br>Artificial Intelligence
subtitle:
Experience weather through the lens of AI-generated art,
bringing a new perspective to daily meteorological phenomena.
button:
explore_cities: "Explore Cities"
view_detail: "View Details"
view_all_weather_arts: "View All Weather Arts"
back_to_cities: "Back to Cities"
back_to: "Back to"
card:
temperature: "Temperature"
wind: "Wind"
humidity: "Humidity"
visibility: "Visibility"
pressure: "Pressure"
cloud_cover: "Cloud Cover"
feel_like: "Feels like"
relative_humidity: "Relative humidity"
clear_view_distance: "Clear view distance"
atmospheric_pressure: "Atmospheric pressure"
sky_coverage: "Sky coverage"
pagination:
showing_items: "Showing %{from} to %{to} of %{total} %{items}"
items:
weather: "weather records"
default: "items"
time:
formats:
time_only: "%H:%M"
with_zone: "%{time} %{zone}"
date_and_time: "%{date} %{time}"
date:
formats:
default: "%Y-%m-%d"
short: "%b %d"
long: "%B %d, %Y"