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

Slugs localizadas #85

Closed
PedroAntunesCosta opened this issue Aug 20, 2024 · 1 comment
Closed

Slugs localizadas #85

PedroAntunesCosta opened this issue Aug 20, 2024 · 1 comment
Assignees

Comments

@PedroAntunesCosta
Copy link
Contributor

PedroAntunesCosta commented Aug 20, 2024

Atualmente todos os artigos são identificados pelas suas slugs em EN. Precisamos que cada versão (por locale) seja associada a uma slug única e localizada, como é o funcionamento do portal atual.

Isso significa:

  • Mudar o nome dos arquivos para a slug do locale correspondente.
  • Slugs do navigation devem ser localizadas. Ao invés do campo conter uma string, deve ter um objeto tipo {pt: <string>, en: <string>, es:<string>}.
  • Locale switching baseado no navigation.
@PedroAntunesCosta
Copy link
Contributor Author

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

No branches or pull requests

2 participants