Skip to content
代码片段 群组 项目
提交 8b0eeac3 编辑于 作者: Lukas Eipert's avatar Lukas Eipert
浏览文件

Implement "custom" haml gettext parser

We currently use `GettextI18nRails::HamlParser` which is using `hamlit`
to convert `haml` to ruby and then `RubyGettextExtractor` (also part of
the `gettext_i18n_rails` gem) to extract externalized strings from the
converted ruby code. This however seems to be slower than the
`GetText::RubyParser` from the `gettext` gem. The performance difference
comes from `ruby_parser` vs `ripper`. The tool also seems to find more
strings, that the previous parser wasn't able to find.
上级 0407ffa1
No related branches found
No related tags found
无相关合并请求
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册