Initial i18n localization

This commit is contained in:
2024-09-17 18:18:32 +02:00
parent 8bef03c2ce
commit 03b1158e7a
7 changed files with 25 additions and 19 deletions

View File

@@ -24,6 +24,7 @@ module Plottservice
# config.time_zone = "Central Time (US & Canada)"
# config.eager_load_paths << Rails.root.join("extras")
# config.i18n.default_locale = :de
config.i18n.available_locales = [ :en, :de ]
config.i18n.default_locale = :de
end
end

View File

@@ -31,10 +31,15 @@ de:
activerecord:
attributes:
job:
pdf: "PDF Dokument"
pdf: "Plan (PDF Format)"
privacy_policy: "Datenschutzerklärung"
costumer_firstname: "Vorname"
costumer_lastname: "Nachname"
errors:
models:
job:
attributes:
pdf:
blank: "is erforderlich"