czukowski / I18n_Plural

I18n module for grammatically correct plural inflections, and maybe even some extra features related to i18n.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Good regexp to detect ___( in code

ricardovf opened this issue · comments

I wanna store the translations in the database, so i need to scan the code for translations. Have you done that? Can you lend some regexp or other code?

Do you mean scanning your template files for the translation strings you've used in them? I've never done anything like that, but there's a number of online regex design tools, where you can try it and see the effect on the fly. There's also the awesome RegexBuddy app, which will cost you though.