I would like to know more about the format of creating the same file by language, such as README-ja.md/README.ja.md.

Asked 2 years ago, Updated 2 years ago, 391 views

There seemed to be at least two major ways to translate documents such as README into multiple languages.

1.README-ja.md (include in filename)

Example: https://github.com/iamkun/dayjs/blob/dev/docs/ja/README-ja.md

2.README.ja.md (with second extension)

Example: https://github.com/ruby/ruby/blob/master/README.ja.md

Question

I'd like to know your opinion on which of these (although I think it's probably your preference) should be adopted (here for major XXX projects, here for YYY's library, etc.)

markdown

2022-10-22 09:13

1 Answers

For example, gcc is not an alternative measure. gcc-11.2.0/gcc/po/ja.po
gcc-11.2.0/gcc/po/es.po
gcc-11.2.0/gcc/po/fr.po
gcc-11.2.0/gcc/po/zh-CN.po
gcc-11.2.0/libcpp/po/ja.po
gcc-11.2.0/libcpp/po/zh_Tw.po
The language files are located under the message directory as shown in .

find etc. would like to use find.-name'*.md', so it would be better not to use README.md.ja as an "extensions change" operation...

If you create your own project, you can set your own naming convention and specify it.


2022-10-22 09:13

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.