Hi all, I am now building a app with i18n support, and quickly found it would be useful to have a tool that finds missing translations for provided locales in an app. That is, for each locale, output all keys that do not exist in that locale but exist in some other locale.
The programming itself is not so difficult as getting my head around how to hook up the tool to the i18n library to get the provided locales and where to house it in the filesystem. I tried searching to see if someone has already created such a tool, and the closest I see is this from Sven Fuchs: http://github.com/svenfuchs/rails-i18n/tree/e504448f1e0ef9e303c3f3f278c0b95622dfeb87/rails/test But this seems intended to find missing translations within the rails-i18n library itself, not within an individual app. If this is the case, it would appear straightforward to adapt this for use for an app. So, I tried placing the code in the test/ directory of my app and executed, but got an error on the require 'i18n' line. I notice that the documentation states to "Make sure you have the Ruby I18n gem installed" but this should already be included in rails 2.2.2, I believe; and I know I am using it already in my app. Simply removing the require line just caused another error message. Can anyone lend me some guidance? I am quite new to Rails :-) Thanks, Matt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "rails-i18n" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rails-i18n?hl=en -~----------~----~----~----~------~----~------~--~---
