Open fa0311 opened 7 months ago
I don't know if this is scalable if you have many locales. The generated file would be very big.
How about limiting this to only the base_locale
? This functionality is useful to understand if the rendering is appropriate just by looking at the code.
I always jump to the declaration when I want to see the base translation (which is ctrl+left click). Don't know if the benefit is great enough to sacrifice the bigger file size
Motivation
I migrated from
gen_l10n
to slang, and the generated documentation is better ingen_l10n
than inslang
. Since I am a native Japanese speaker, I need to be able to quickly preview member variables in Japanese, not just their names.gen_l10n
generates the following.slang
generates the following.