i18n icon indicating copy to clipboard operation
i18n copied to clipboard

Internationalization for grammY

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

#### TODO - [x] 4fdda23ea94b7a02342c4b66cccacdf104973f78 Improve `getLocale` by moving `localeNegotiator` (a custom negotiator rule) to `setLocale` to avoid unnecessary calling. - [x] 9880b42e678489882f9676a7f149596024593224 Allow to get current language as property...

`ctx.t` accepts `TranslationContext` that is defined as `Record` However, if you try to pass a narrower type (like `{a: string}`), you get an error

There is a problem that I'm not sure it is related to Grammy or not. When using RTL language text (like Persian) that has LTR words within the Latin word...

The third example on the Fluent docs page ["Selectors"](https://projectfluent.org/fluent/guide/selectors.html) does not work with grammY's i18n plugin. ### MWE ```fluent # en.ftl request-success = You are { NUMBER($queueLength, type:"ordinal") -> [1]...

Fluent does stuff that inserts weird characters, and this is often undesired. Let's document this. Context: https://t.me/grammyjs/145192

For some use-cases it would be useful to have the ability to override certain translations programmatically, for example by loading multiple translation files before loading the default translations. This is...

Closes #48 For some use-cases it would be useful to have the ability to override certain translations programmatically, for example by loading multiple translation files before loading the default translations....

Closes #51 As explained in the issue referenced above, sometimes it becomes too difficult to maintain translation files for a project and currently the library does not allow files to...