2017 © Pedro Peláez
 

magento-module untranslatedstrings

image

ericthehacker/untranslatedstrings

  • Thursday, April 5, 2018
  • by szagabesz
  • Repository
  • 1 Watchers
  • 0 Stars
  • 56 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 13 Forks
  • 0 Open issues
  • 6 Versions
  • 93 % Grown

The README.md

EW_UntranslatedStrings

This is a module to optionally log untranslated strings as they are discovered by locale., (*1)

Installation

Install via modman:, (*2)

$ cd <magento root>
$ modman init # if you've never used modman before
$ modman clone https://github.com/ericthehacker/magento-untranslatedstrings.git

Configuration

Visit System -> Config -> Developer -> Untranslated Strings -> Log Untranslated Strings and set it to Yes to enable untranslated string logging. When pages are rendered, any string missing translations for the current locale is logged., (*3)

To log results from more than one locale at a time, enable System -> Config -> Developer -> Untranslated Strings -> Batch Check Translation Locales, then select some locales in the multiselect below. With this enabled, when a page is rendered, each translated string is checked against each of the selected locales and logged individually if there is a translation gap., (*4)

Usage

After enabling the functionality in the system config as stated above, any time a string is run through the translator but no translation for the selected locale(s) is found, the string along with other useful information will be logged., (*5)

To see a summary of untranslated strings, visit Reports -> Untranslated Strings -> Untranslated Strings Summary in Magento admin. This report shows a summary of untranslated strings by locale. Additionally, you can perform the following actions:, (*6)

  • Purge: this removes strings from the untranslated strings report which have since had translations added. This allows you to clean up the report after adding new translations to address previous gaps.
  • Truncate: this removes all strings from the report for the given locale(s).

To see a full report of this log, visit Reports -> Untranslated Strings -> Untranslated Strings Report in the Magento admin. This report shows all logged untranslated strings and allows you to filter, sort, and export., (*7)

Caveat

Currently, the module introduces a small to moderate performance penalty, depending on the number of locales you have configured to check. However, this penalty is realized only if enabled in system configuration. That means that it should be safe to have installed on both production and stage, but you probably don't want to enable it on production all the time., (*8)

Note that it's disabled by default., (*9)

The Versions

05/04 2018

dev-develop

dev-develop

  Sources   Download

05/04 2018

1.0.1

1.0.1.0

  Sources   Download

05/04 2018

dev-feature/fix-url-found-logging

dev-feature/fix-url-found-logging

  Sources   Download

05/04 2018

dev-feature/export-all-at-once-to-zip

dev-feature/export-all-at-once-to-zip

  Sources   Download

19/05 2015

dev-master

9999999-dev

  Sources   Download

13/11 2014

1.0

1.0.0.0

  Sources   Download