# Localize Slim templates in seconds for your Rails i18n

**URL:** <https://www.ruby-forum.com/t/localize-slim-templates-in-seconds-for-your-rails-i18n/231840>\
**Category:** Rails I18n\
**Created:** [September 2, 2014, 3:49pm UTC](https://www.ruby-forum.com/t/localize-slim-templates-in-seconds-for-your-rails-i18n/231840 "2014-09-02T15:49:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [September 2, 2014, 3:49pm UTC](https://www.ruby-forum.com/t/localize-slim-templates-in-seconds-for-your-rails-i18n/231840/1 "2014-09-02T15:49:16Z")

</div>

If you ever had to make existing (Slim) templates localizable for the  
internationalization of your Rails app, you know it is a real pain and  
takes ages!

We have built a neat tool to extract all localizable strings from Slim  
templates and to replace them with generated keys for the Rails i18n  
module: Slimkeyfy

See the project on our Github page: [GitHub - phrase/slimkeyfy: Extract plain Strings from .slim views and rails controllers to replace them with I18n's t() method](https://github.com/phrase/slimkeyfy)

We have also put together a blog post that explains in detail how it  
works:

> **[Phrase (Frm. Memsource)—the Complete Localization Solution](https://phrase.com/)**
>
> Use the world’s most powerful, connective, and customizable translation software to connect with international customers and drive growth.

We hope we can save you hours of boring work, just like the tool saved  
ourselves days of template localization 🙂

Best,  
Manuel

> **[Phrase (Frm. Memsource)—the Complete Localization Solution](https://phrase.com/)**
>
> Use the world’s most powerful, connective, and customizable translation software to connect with international customers and drive growth.
