translator icon indicating copy to clipboard operation
translator copied to clipboard

Message translation

Results 11 translator issues
Sort by recently updated
recently updated
newest added

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start)...

dependencies
php

The following console command to debug should be present: - Dump all translations - Dump specific languages - Translate a string from CLI Extracted from https://github.com/yiisoft/yii-debug/issues/202

[Yii3 configuration](https://github.com/yiisoft/translator#advanced-configuration-for-yii3-application) part is outdated.

type:docs

### What steps will reproduce the problem? Use _Translator_ on not-existed key. ```php echo $translator->translate('not.existed.key'); // "not.existed.key" ``` ### What is the expected result? I want to decide when `translate()`...

Could be useful for validator (`Json` rule for example) and overall.

1) If this code: `$formatter = new MessageFormatter($locale, $message);` throw `IntlException`, then we should dispatch event and return raw message. 2) If `$formatter->format($parameters);` return false, then dispatch event and return...

Is it really needed? In validator in places where it's used it's just a simple substitution of integer numbers. Probably could be useful somewhere else. Then how we go about...

type:enhancement
status:under discussion

### What steps will reproduce the problem? ``` $thisMessageIdNotExist = 'xyz'; echo $translator->translate($thisMessageIdIsNotExist); ``` ### What do you get? `xyz` ### What do you want to get? `Oh no, "xyz"...

type:enhancement

It is currently mentioned in the README but details are missing.

status:ready for adoption
type:docs

I feel that `Yii::t()` lacks ability to provide context of textual value and when translations start to count in couple hundreds, it starts to be quite hard to understand what...

type:enhancement