Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
This commit is contained in:
Joe Milazzo
2024-08-29 08:46:17 -05:00
committed by GitHub
parent 5bf5558212
commit 79eb98a3bb
67 changed files with 1398 additions and 1006 deletions
+5
View File
@@ -22,6 +22,11 @@ public class LocaleController : BaseApiController
[HttpGet]
public ActionResult<IEnumerable<string>> GetAllLocales()
{
// Check if temp/locale_map.json exists
// If not, scan the 2 locale files and calculate empty keys or empty values
// Formulate the Locale object with Percentage
var languages = _localizationService.GetLocales().Select(c =>
{
try