Skip to content

Externalization of the Translation Levels

4ydogan requested to merge 4ydogan/gitlab:translation-end into master

My goal for making this change was to externalize a constant variable into a separate file from the file. Therefore, I created data/languages sub-directory and translation_levels.yml file into languages. Then, I updated the percentage_translated_for method. The method reads the file and return the value of translation level.

Merge request reports