I18n #60
Sem revisor
Etiquetas
Nenhum rótulo
A: API
A: Backend
A: Federation
A: Front-End
A: I18N
A: Meta
A: Security
Build
C: Bug
C: Discussion
C: Enhancement
C: Feature
Compatibility
Dependency
Design
Documentation
Good first issue
Help welcome
Mobile
Rendering
S: Blocked
S: Duplicate
S: Incomplete
S: Instance specific
S: Invalid
S: Needs Voting/Discussion
S: Ready for review
Suggestion
S: Voted on Loomio
S: Wontfix
Sem marco
Sem projeto
Sem responsáveis
2 participantes
Notificações
Data limite
Não há data limite definida.
Dependências
Não há dependências definidas.
Referência: Plume/Plume#60
Carregando…
Adicionar tabela
Referência em uma nova issue
Nenhuma descrição fornecida.
Excluir branch "i18n"
Apagar um branch é permanente. Ainda que o branch apagado possa continuar a existir por um breve período antes de ser realmente apagado, isso NÃO PODE ser desfeito na maioria dos casos. Continuar?
Here is the workflow I came with:
po/LINGUAS
_
or_n
filters in the Tera templatepo/plume.pot
cargo build
(orcargo run
), it:.po
ones) with new strings, or create them from the POT if they don't exist.mo
files.mo
files areAccept-Language
header, and tell gettext to use it (with a dirty hack)TODO:
_
and_n
)i18n
module in its own crate?Fixes #58
I made a crate for this, so that other Rocket-based projects can re-use it: https://crates.io/crates/rocket_i18n
OK, I can't use the crate because we need to depend on Rocket
master
and crates.io won't let us do that.Edit: actually, I can may use the git repository as a source
@ -6,9 +6,9 @@
{% endblock title %}
I think a
| _
is missing hereIn-code strings like
5ae9cb3490/src/routes/blogs.rs (L59)
are missing.Adding translation by modifying only utils::requires_login, not each route files, seems to be the way