[ptbr]
[title]Como criar posts traduzíveis na comunidade[/title]
📝 Como criar posts traduzíveis na comunidade
É possível postar conteúdo técnico em dois idiomas diferentes (Inglês e Português), de forma que somente o texto no idioma do visitante será exibido.
❓ Como funciona?
Você pode usar a o shortcode [en]
, assim:
[ptbr][size=24]meu texto[/size][/ptbr]
[en][size=24]my text[/size][/en]
🌍 Resultado:
- Visitantes com o site em inglês verão apenas o primeiro bloco.
- Visitantes com o site em português verão apenas o segundo bloco.
⚠️ Importante:
- No momento, apenas os idiomas "en" e "pt-BR" são suportados.
- O código deve ser usado exatamente como demonstrado.
- Você pode usar esse recurso para facilitar tutoriais multilíngues sem poluir visualmente o post.
💡 Dica:
Use um bloco para cada idioma, mantendo sempre a mesma ordem (inglês primeiro, português depois) para consistência.
Esperamos que isso ajude a tornar seu conteúdo mais acessível! 🌐
[/ptbr]
[en]
📝 How to create translatable posts in the community
You can post technical content in two different languages (English and Portuguese), in a way that only the text matching the visitor’s language will be shown.
❓ How does it work?
You can use the [ptbr]
shortcode like this:
[ptbr][size=24]meu texto[/size][/ptbr]
[en][size=24]my text[/size][/en]
🌍 Result:
- Visitors browsing the site in English will only see the first block.
- Visitors browsing the site in Portuguese will only see the second block.
⚠️ Important:
- Currently, only the languages "en" and "pt-BR" are supported.
- The code must be used exactly as shown.
- You can use this feature to write multilingual tutorials without visually cluttering the post.
💡 Tip:
Use one block for each language, always keeping the same order (English first, Portuguese second) for consistency.
We hope this helps make your content more accessible! 🌐
[/en]