rdoc icon indicating copy to clipboard operation
rdoc copied to clipboard

Internationalize hardcoded rdoc-ref links

Open nobu opened this issue 1 year ago • 1 comments

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 avatar Jan 02 '24 02:01 nobu

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.

st0012 avatar Dec 12 '24 13:12 st0012