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

Internationalize hardcoded rdoc-ref links #1076

Open
nobu opened this issue Jan 2, 2024 · 1 comment
Open

Internationalize hardcoded rdoc-ref links #1076

nobu opened this issue Jan 2, 2024 · 1 comment
Labels

Comments

@nobu
Copy link
Member

nobu commented Jan 2, 2024

Currently rdoc-ref:REF@label link is converted to label at <code>REF</code>, with the hardcoded word at and in the hardcoded order.
For doc/extension.ja.rdoc written in Japanese in Ruby, this template needs to be localized.

Also, the current I18N feature of RDoc is based on PO files.
That does not suit with files per locales like doc/extension.ja.rdoc above.
We will need a way to specify locales for each doc, such as :locale: directive, e.g., :locale: ja.

@nobu nobu added the bug label Jan 2, 2024
@st0012
Copy link
Member

st0012 commented Dec 12, 2024

I think we need to go through some cleanup/refactor of RDoc's auto-linking logic first, before introducing i18n concept into it because it's already not easy to maintain in its current state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants