saberland/saber

Do you want to work on this issue?

You can request for a bounty in order to promote it!

i18n and translations using only one file per page #695

arslabora posted onGitHub

<!-- Please don't delete this template or we'll close your issue -->

<!-- Before creating an issue please make sure you are using the latest version of Saber. -->

Feature request

<!-- Please ask questions via following several ways. -->

<!-- https://chat.saber.land/ -->

<!-- https://stackoverflow.com/questions/ask?tags=saberjs -->

What problem does this feature solve?

It will avoid duplication in the page structure, a much cleaner source and streamlined workflow

What does the proposed API look like?

How should this be implemented in your opinion?

I think the way NetlifyCMS deal with translations extremely clever: it allow for three different strategies - a folder structure for each language (as Saber currently offer), a file for each language inside the same folder (as Hugo page bundles) and just one file, with content separated by language level, under a i18n top-level tag.

I propose to follow the same direction, cause for websites with lots of languages and much content, it will be extremely cumbersome to replicate the very same structure for each locale.

Are you willing to work on this yourself?

Absolutely!


I'm rewriting Saber, so no new features for now, but I'll take this into consideration while working on the new version.

posted by egoist almost 4 years ago

Thanks for let me know! I would love to help, if possible.

On Tue, Apr 13, 2021, 13:40 Kevin Hazy @.***> wrote:

I'm rewriting Saber, so no new features for now, but I'll take this into consideration while working on the new version.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/saberland/saber/issues/695#issuecomment-818880703, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM3I3ON3E3JSS6VZTNZNAUDTIRXYXANCNFSM423V2V5Q .

posted by arslabora almost 4 years ago

Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests