Skip to content

Return full trans with args when translations missing.#48

Open
HouCoder wants to merge 1 commit into
zerospam:masterfrom
HouCoder:fallback-with-args
Open

Return full trans with args when translations missing.#48
HouCoder wants to merge 1 commit into
zerospam:masterfrom
HouCoder:fallback-with-args

Conversation

@HouCoder
Copy link
Copy Markdown

With current approach _i('Hello %s', $userName) only returns Hello %s if no translation available.

@philippe-bourdeau
Copy link
Copy Markdown

@HouCoder Can you tell me what do you mean exactly but no translation available ? Does that mean that there is no entry in your .po file ? I'm asking because I cannot reproduce the issue you are having. The result I'm getting is the original message if there is no entry in the .po file.

Can you also confirm that you are using the symfony handler in your configuration ?

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.

2 participants