Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew000 committed Oct 28, 2024
1 parent 58549d3 commit be8b111
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Or add it to your `pyproject.toml` and run `poetry update`

## Usage

First of all, you should to create locales directory in your project.
First of all, you should create locales directory in your project.

```shell
$ mkdir project_path/locales
Expand Down Expand Up @@ -50,6 +50,11 @@ put the key.

It may be just a filename like `file.ftl` or a path to a file like `dir/file.ftl`.

<details>
<summary><b>❌ CustomFluentRuntimeCore</b></summary>

### ❗️ Is not actual anymore

#### ❓ - My `FluentRuntimeCore` throws an error 🤯, when I use `_path` argument

Now there is a little problem with integration with [aiogram-i18n](https://github.com/aiogram/i18n)
Expand Down Expand Up @@ -82,6 +87,8 @@ class CustomFluentRuntimeCore(FluentRuntimeCore):

Then just use this `CustomFluentRuntimeCore` in your `i18n` middleware as erlier.

</details>

#### ❓ - How to add more languages to the project ?

```shell
Expand Down

0 comments on commit be8b111

Please sign in to comment.