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

1 つの problem.toml で複数言語に対応させる #50

Closed
tsutaj opened this issue Apr 18, 2021 · 2 comments
Closed

1 つの problem.toml で複数言語に対応させる #50

tsutaj opened this issue Apr 18, 2021 · 2 comments

Comments

@tsutaj
Copy link
Owner

tsutaj commented Apr 18, 2021

実際に作業して気づいた問題点

概要

  • 複数の言語 (例: 英語と日本語) で問題文を書く必要があるとき、言語ごとに設定ファイルを作る必要が出てしまう
    • 制約も言語ごとに書かなければならず、悲しいことになる
  • 1 つのファイルで複数の言語に対応できるようにしたい
    • 以前実装して結局やめた「1 つのファイルに複数の問題について書く」みたいなのをいい感じに復活させてあげたい
@tsutaj
Copy link
Owner Author

tsutaj commented Aug 27, 2021

statements_path = [
    "path/to/statements/1.md", "ja",
    "path/to/statements/2.md", "en",
    ...
]

みたいに設定するのを考えている。言語設定はファイル名をいい感じに設定して吸収できないかとも考えたが、docs だと無理なのであきらめ

tsutaj added a commit that referenced this issue Aug 27, 2021
tsutaj added a commit that referenced this issue Aug 27, 2021
tsutaj added a commit that referenced this issue Aug 27, 2021
@tsutaj
Copy link
Owner Author

tsutaj commented Aug 27, 2021

結局 [[statements]] みたいなので管理するようにした。このほうが使いやすそうだったので。

対応完了したので close

@tsutaj tsutaj closed this as completed Aug 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant