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
i much prefer python's string.format() string templating rules than the templating provided by translationstring.TranslationString.interpolate(), and have monkey-patched translationstring to use that instead for my projects.
i'd like to make that a bit less hackish though: if i forked translationstring to accept a new parameter "formatter" to TranslationString and TranslationStringFactory (defaulting to the current formatting rules to stay backwards compatible), would you accept the patch?
cheers
The text was updated successfully, but these errors were encountered:
hi pylons team,
i much prefer python's
string.format()
string templating rules than the templating provided bytranslationstring.TranslationString.interpolate()
, and have monkey-patched translationstring to use that instead for my projects.i'd like to make that a bit less hackish though: if i forked translationstring to accept a new parameter "formatter" to TranslationString and TranslationStringFactory (defaulting to the current formatting rules to stay backwards compatible), would you accept the patch?
cheers
The text was updated successfully, but these errors were encountered: