Skip to content

Externalization of the Translation Coverage Data

4ydogan requested to merge 4ydogan/gitlab:translationlevel-externalize 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.

For #329326

Edited by Bob Van Landuyt

Merge request reports

Loading