# 翻訳を容易にするための開発ガイドライン

**URL:** <https://meta.discourse.org/t/dev-guideslines-for-making-translation-easier/84104>\
**Category:** Translations\
**Created:** [2018 年 3 月 29 日午前 6:01 UTC](https://meta.discourse.org/t/dev-guideslines-for-making-translation-easier/84104 "2018-03-29T06:01:11Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Benjol](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/benjol/32/3907_2.png) [@Benjol](https://meta.discourse.org/u/Benjol)\
**Post date:** [2018 年 3 月 29 日午前 6:01 UTC](https://meta.discourse.org/t/dev-guideslines-for-making-translation-easier/84104/1 "2018-03-29T06:01:11Z")

</div>

I’m aware of topics and guidelines for translators, but are there guidelines anywhere for devs so that they can make translation easier?

If not, I have a few ideas 🙂

- Avoid ‘walls of text’. `tos_topic.body` is totally unwieldy, for example. And that’s if you just have to translate it the once. But every time there is a modification, you have to scroll up/down to find the differences.
- Try to avoid ambiguity (i.e. does “User Modified” mean “modified by the user” or “the user has been modified”?). You don’t necessarily need to make the distinction in the text, using the key to disambiguate is a good idea too.
- Don’t hard code a language-specific url inside a no-translate tag (at this time `site_settings.discourse_chronos_default_timezones` has a link to an EN WikiPedia page embedded in a no-translate tag)
- Don’t forget that you should use the alternate translations for texts involving counts of 1 and n.

(Feel free to add other ideas)

---

_[View the full topic](https://meta.discourse.org/t/dev-guideslines-for-making-translation-easier/84104)._
