Consider letting translated pages selectively opt-in to structural changes

Open
#206 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Tech stack
javascript

Research direction

No files, tests, or entry points are identified in the issue. First clarify whether the project should support region-specific structure or only language-specific content, then define the affected behavior and acceptance criteria before locating the implementation.

Written by the indexing model from the issue text.

Description

Usually you want one master document (main language) that sets up the exact structure, and for all languages you simply do translations.

However in some rare cases this might be limiting or simply not enough. Think of some regional products that should be promoted in one region but not in another.

The question to clarify is where to draw the line. Should we support region-specific pages or just language-specific content (as of now)? I'm a bit worried this opt-out of the structural changes block could feel confusing to users. But at the same time this feature may provide a solution for many site that would otherwise have to launch entire clones of the whole site for each language, when in 95% of cases translations alone would be enough.

Dominant language
TypeScript
Stars
1.8k
Forks
148
Avg merge
2h 47m
Merged PRs (30d)
13

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from michael/editable

All issues in michael/editable

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.