Debugging Translation
Permalink 2 users found helpful
Hi,
I modified concrete/startup/localization.php so that we can see both the source language and the target of each translation word/phrase/sentence.
Code is here.https://github.com/ounziw/Debugging-translation-for-Concrete5/tree/m...
If you replace your concrete/startup/localization.php with this code, you can see both the source language and the target language. For example, suppose you are using French, you will see "error erruer".
I hope it helps to check whether translated messages are suitable or not.
*Notice* If you are using English for Concrete5, this code is useless.
*Warning* This code is DEBUG ONLY. Do not activate on a live site.
I modified concrete/startup/localization.php so that we can see both the source language and the target of each translation word/phrase/sentence.
Code is here.https://github.com/ounziw/Debugging-translation-for-Concrete5/tree/m...
If you replace your concrete/startup/localization.php with this code, you can see both the source language and the target language. For example, suppose you are using French, you will see "error erruer".
I hope it helps to check whether translated messages are suitable or not.
*Notice* If you are using English for Concrete5, this code is useless.
*Warning* This code is DEBUG ONLY. Do not activate on a live site.
you can also check missing t function.
thanks ounziw!