You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You are replacing the gettext and ngettext template's callable by your own version. But those callable are then also overriding the default ones. Which mean that automatically all the translations of your project will try to find strings in the pyramid_admin domain.
That's wrong cause it means that the translation will work on the admin side using your domain, but an hypothetical project will loose the possibility to be translated itself with his domain...
Basically, it seems there's a conflicting domain and you should probably not forcing it to be pyramid_admin as it is currently done.
The text was updated successfully, but these errors were encountered:
In the following:
https://github.com/appetito/pyramid_admin/blob/master/src/pyramid_admin/__init__.py
You are replacing the gettext and ngettext template's callable by your own version. But those callable are then also overriding the default ones. Which mean that automatically all the translations of your project will try to find strings in the pyramid_admin domain.
That's wrong cause it means that the translation will work on the admin side using your domain, but an hypothetical project will loose the possibility to be translated itself with his domain...
Basically, it seems there's a conflicting domain and you should probably not forcing it to be pyramid_admin as it is currently done.
The text was updated successfully, but these errors were encountered: