Skip to content
This repository has been archived by the owner on Nov 2, 2020. It is now read-only.

Translation of Empty String #15

Closed
alecsammon opened this issue Apr 8, 2011 · 1 comment
Closed

Translation of Empty String #15

alecsammon opened this issue Apr 8, 2011 · 1 comment
Labels

Comments

@alecsammon
Copy link
Contributor

Example

{% set foo = "" %}
{% trans foo %}

This returns the header information of the gettext mo file. Although this is standard behavior for gettext it may not be desirable. Suggest modifying to just return an empty string.

@fabpot fabpot added the i18n label Aug 6, 2019
@fabpot
Copy link
Contributor

fabpot commented Oct 17, 2019

I'm closing all issues/PRs on the i18n extension as I don't use it and I don't have time to maintain it anymore. This repository will be soon deprecated in favor of the twig/*-extra packages, but i18n wont be transferred. If anyone wants to work on the i18n extension, I would recommend to take the code from here and host it on a new repository.

@fabpot fabpot closed this as completed Oct 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

2 participants