Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Japanese translations #4944

Closed
2 tasks done
josh-wong opened this issue Jan 29, 2023 · 6 comments
Closed
2 tasks done

Update Japanese translations #4944

josh-wong opened this issue Jan 29, 2023 · 6 comments
Labels
change request Issue requests a new feature or improvement resolved Issue is resolved, yet unreleased if open

Comments

@josh-wong
Copy link
Contributor

josh-wong commented Jan 29, 2023

Contribution guidelines

Language availability

Translations

{% macro t(key) %}{{ {
  "language": "ja",
  "action.edit": "編集",
  "action.skip": "コンテンツにスキップ",
  "action.view": "このページの原文を表示",
  "announce.dismiss": "非表示にします",
  "blog.archive": "過去の投稿",
  "blog.categories": "カテゴリー",
  "blog.categories.in": "",
  "blog.continue": "続きを読む",
  "blog.draft": "下書き",
  "blog.index": "ブログトップへ戻る",
  "blog.meta": "メタデータ",
  "blog.references": "関連リンク",
  "clipboard.copy": "クリップボードへコピー",
  "clipboard.copied": "コピーしました",
  "consent.accept": "同意",
  "consent.manage": "サイトの設定",
  "consent.reject": "拒否",
  "footer": "フッター",
  "footer.next": "次",
  "footer.previous": "前",
  "header": "ヘッダー",
  "meta.comments": "コメント",
  "meta.source": "ソース",
  "nav": "ナビゲーション",
  "readtime.one": "このページは約1分で読めます",
  "readtime.other": "このページは約#分で読めます",
  "rss.created": "新しいページのRSSフィード",
  "rss.updated": "更新されたページのRSSフィード",
  "search": "検索",
  "search.placeholder": "検索",
  "search.share": "共有",
  "search.reset": "クリア",
  "search.result.initializer": "検索を初期化",
  "search.result.placeholder": "検索キーワードを入力してください",
  "search.result.none": "何も見つかりませんでした",
  "search.result.one": "1件見つかりました",
  "search.result.other": "#件見つかりました",
  "search.result.more.one": "このページ内にもう1件見つかりました",
  "search.result.more.other": "このページ内にあと#件見つかりました",
  "search.result.term.missing": "検索に含まれない",
  "select.language": "言語切り替え",
  "select.version": "バージョン切り替え",
  "source": "リポジトリへ",
  "source.file.contributors": "投稿者",
  "source.file.date.created": "作成した",
  "source.file.date.updated": "最終更新日",
  "tabs": "タブ",
  "toc": "目次",
  "top": "ページトップへ戻る"
}[key] }}{% endmacro %}
@josh-wong
Copy link
Contributor Author

I've filled in everything except for the following. In this case, there really doesn't seem to be a good particle to add here that would make sense, so I left it blank.

"blog.categories.in": "",

I added what I knew and confirmed the wording that some corporate Japanese blogs use. Still, in the future, I think the parts I added could benefit from a native Japanese speaker🙂

@squidfunk
Copy link
Owner

Thanks!

"blog.categories.in": "in ⬅️",

This is the placeholder that is used to render the blog categories a post is categorized in, e.g. "in Search":

Bildschirmfoto 2023-01-29 um 12 37 50

@squidfunk squidfunk added the change request Issue requests a new feature or improvement label Jan 29, 2023
@josh-wong
Copy link
Contributor Author

The way Japanese grammar is, I don't think replacing "in" wouldn't be correct in this spot, unfortunately. For example, Search へ would work, but not へ Search. In this case, I assume changing the placement of that isn't reasonable though.

Is it possible to leave "blog.categories.in": "", blank or otherwise have the English "in" render as blank?

@squidfunk
Copy link
Owner

squidfunk commented Jan 29, 2023

We can definitely leave it blank for now. I hope to improve the translation process at some point to switch to regular gettext and .po files, which allows for more flexibility, but that's something for the future to consider when we get bored. For now, the list of proposed changes and ideas is already so long to fill the coming years 😅

@squidfunk
Copy link
Owner

All sorted in ea78109 😊

@josh-wong
Copy link
Contributor Author

Sounds good! If I come up with any bright ideas or any possible improvements, I'll submit a PR.😄

@squidfunk squidfunk added the resolved Issue is resolved, yet unreleased if open label Jan 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
change request Issue requests a new feature or improvement resolved Issue is resolved, yet unreleased if open
Projects
None yet
Development

No branches or pull requests

2 participants