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.