rails

Localization for your Rails Applications

Sign up and create a project

Getting Started is Easy


Install the TML Gem

gem "tml-rails"

Configure the SDK: Create an initializer and configure the SDK:

# config/initializers/tml.rb
Tml.configure do |config|
  config.application = {
    key: 'YOUR_APPLICATION_KEY'
  }
  config.cache = {
    enabled: true,
    adapter: 'rails'
  }
end

Use the TML Helpers: Use helper tags and wrap your strings with "tr" function:

// Use "tr" function with your strings
<%= tr("Hello World") %> //Hello World
<%= tr("You have {count || message}", count: 5) %> //You have 5 messages

Manage your entire localization efforts in one place


Keep track of your localization progress

Get detailed reports on how your localization and translation are progressing.

Choose how you want to translate

Invite your own translators or order professional translations from our network of 15,000+ on-demand translators with just a few clicks.

View all your translated content in one place

Access all your digital content from our dashboard and review your latest translations

Translation Exchange works with all major languages and frameworks

View All Platforms

And seamlessly integrates with many major web based platforms.

View All Integrations