Skip to content

Commit

Permalink
Initial laying in of l10n-pocket directory and config files
Browse files Browse the repository at this point in the history
  • Loading branch information
stevejalim committed Apr 26, 2022
1 parent 000b94e commit f87f317
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 0 deletions.
1 change: 1 addition & 0 deletions l10n-pocket/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
For Pocket pages, all translations are handled by a vendor, rather than the community.
26 changes: 26 additions & 0 deletions l10n-pocket/configs/vendor.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# All content handled by the vendor or Mozilla staff should
# be covered by the [[paths]] in this file, with the relevant locales.

basepath = ".."

locales = [
"de",
"en",
"es-ES",
"fr-CA",
"fr",
"it",
"ja",
"ko",
"nl",
"pl",
"pt-BR",
"pt-PT",
"ru",
"zh-CN",
"zh-TW",
]

[[paths]]
reference = "en/**/*.ftl"
l10n = "{locale}/**/*.ftl"
Empty file added l10n-pocket/en/.gitkeep
Empty file.
10 changes: 10 additions & 0 deletions l10n-pocket/l10n-vendor.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Entrypoint for vendor and staff localization.
# Edits to add content for l10n should be made in configs/vendor.toml

basepath = "."

[[includes]]
path = "configs/vendor.toml"

# [[excludes]]
# path = "configs/special-templates.toml"

0 comments on commit f87f317

Please sign in to comment.