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

i18n #841

Open
wants to merge 76 commits into
base: main
Choose a base branch
from
Open

i18n #841

wants to merge 76 commits into from

Conversation

TTWNO
Copy link

@TTWNO TTWNO commented Jul 16, 2023

A PR with the same basic features as #700 but up to date with current main.

89Q12 added 30 commits June 16, 2022 21:39
added fail() if localize() is detected  in a template while the localization feature is not activated
…ich tries until on parser succeeds but this also means when localize gets call with non localize string it fails and generates a failure

This reverts commit 355163a.
LeoniePhiline and others added 25 commits October 10, 2022 17:15
Proc-macro askama_derive::i18n_load!() must remain in root namespace,
due to restrictions in proc-macro exports.
However, it is re-published as `askama::i18n::load!()`.
docs: Rename example template struct
Quote from https://projectfluent.org/fluent/guide/hello.html

```ftl
hello = Hello, world!
```

Each message has an identifier that allows the developer to bind it to the place in the software where it will be used. The above message is called `hello`.
fix: Implement missing recursive `is_cachable()` for `Expr::Localize`
Fix: Add missing trailing newline in ftl file
@djc
Copy link
Owner

djc commented Jul 24, 2023

My feedback from #700 still stands, I guess:

I guess the main thing that could help resolving this deadlock would be to represent the changes here as a series of a smaller PR that have one logical change per PR, so that I can review each of them quickly and thus we can make progress.

Thanks for bringing this up to date, though!

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

Successfully merging this pull request may close these issues.

5 participants