i18n icon indicating copy to clipboard operation
i18n copied to clipboard

Results 7 i18n issues
Sort by recently updated
recently updated
newest added

# Foreword - Code should be in bot directory - Command should be running outside the bot directory # Steps For **non-windows** users - replace "\\" with "/" 1. `python...

bug

## Foreword * Code should be in `bot` directory * Command should be running outside the `bot` directory ## Steps 1. `python -m aiogram_i18n extract -i '.\bot' -o '.\locales\test.ftl' -cm...

bug

## Why deprecate built-in FTL Extractor? * Has many bugs, such as #32 and #33 * Is not maintained * Uses `regex` for parsing `.ftl` * Uses large `libcst` instead...

enhancement

```python @router.message( or_f( Command("language", "lang"), LazyFilter("settings-lang"), ), ) ``` ## Excepted behaviour: Handler reacts on: * commands: "/lang", "/language" * text-commands: "lang", "мова" ## Current behaviour: It does not react,...

bug

FTL file: ```fluent hello = Hello, { $firstname } { $lastname }! ``` Before: ```python fluent.runtime.errors.FluentReferenceError: Unknown external: firstname ``` After: ```python aiogram_i18n.exceptions.FluentMessageError: 2 errors for key 'hello': Unknown external:...

enhancement

Keys are now generated based on the relative file path, not just the stem file. This allows you to support a nested template structure, e.g: ``` locales/en/ main/ hello.j2 buttons/...

Adapter to support .yaml files Created by: https://github.com/klaymov