{"id":42915049,"url":"https://github.com/onedionys/onedionys-localization-manager","last_synced_at":"2026-01-30T17:05:53.375Z","repository":{"id":226540132,"uuid":"768992518","full_name":"onedionys/onedionys-localization-manager","owner":"onedionys","description":"Manager to manage various local resources in multilingual applications.","archived":false,"fork":false,"pushed_at":"2024-05-07T01:25:40.000Z","size":166,"stargazers_count":18,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-18T18:11:41.805Z","etag":null,"topics":["localization-manager","onedionys","package-manager","tea"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/onedionys-localization-manager","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/onedionys.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-08T05:49:06.000Z","updated_at":"2024-05-07T01:25:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"ba717a44-d0fd-4a32-9a91-1dd62bee4dd9","html_url":"https://github.com/onedionys/onedionys-localization-manager","commit_stats":null,"previous_names":["onedionys/onedionys-localization-manager"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/onedionys/onedionys-localization-manager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onedionys%2Fonedionys-localization-manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onedionys%2Fonedionys-localization-manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onedionys%2Fonedionys-localization-manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onedionys%2Fonedionys-localization-manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/onedionys","download_url":"https://codeload.github.com/onedionys/onedionys-localization-manager/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onedionys%2Fonedionys-localization-manager/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28915942,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T16:37:38.804Z","status":"ssl_error","status_checked_at":"2026-01-30T16:37:37.878Z","response_time":66,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["localization-manager","onedionys","package-manager","tea"],"created_at":"2026-01-30T17:05:53.222Z","updated_at":"2026-01-30T17:05:53.360Z","avatar_url":"https://github.com/onedionys.png","language":"JavaScript","funding_links":["https://www.buymeacoffee.com/onedionys"],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eWelcome to One Dionys - Localization Manager! 👋 \u003c/h1\u003e\n\n\u003cp align=\"center\"\u003eManager to manage various local resources in multilingual applications. 💖 \u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://img.shields.io/github/contributors/onedionys/onedionys-localization-manager?style=flat-square\"\u003e\n\u003cimg src=\"https://img.shields.io/github/issues/onedionys/onedionys-localization-manager?style=flat-square\"\u003e\n\u003cimg src=\"https://img.shields.io/github/stars/onedionys/onedionys-localization-manager?style=flat-square\"\u003e \n\u003cimg src=\"https://img.shields.io/github/forks/onedionys/onedionys-localization-manager?style=flat-square\"\u003e\n\u003cimg src=\"https://img.shields.io/github/last-commit/onedionys/onedionys-localization-manager.svg?style=flat-square\"\u003e\n\u003cimg src=\"https://img.shields.io/github/languages/code-size/onedionys/onedionys-localization-manager?style=flat-square\"\u003e\n\u003cimg src=\"https://img.shields.io/github/license/onedionys/onedionys-localization-manager?style=flat-square\"\u003e\n\u003c/p\u003e\n\n## 💾 Requirements\n\n* `Web Browser` - Can be used as an emulator to build applications. Example [Chrome, Firefox, Safari \u0026 Opera].\n* `Internet` - Because many use CDN and to make it easier to find solutions to all problems.\n\n## 🎯 How To Use\n\n#### Example Syntax\n\n```javascript\n// Example usage of LocalizationManager\n\nconst LocalizationManager = require('./src/localizationManager');\n\n// Create a new instance of LocalizationManager\nconst manager = new LocalizationManager();\n\n// Load localization data for English locale\nconst englishData = {\n    greeting: 'Hello',\n    farewell: 'Goodbye'\n};\nmanager.loadLocaleData('en', englishData);\n\n// Translate keys to English\nconsole.log(manager.translate('greeting', 'en')); // Output: Hello\nconsole.log(manager.translate('farewell', 'en')); // Output: Goodbye\nconsole.log(manager.translate('missingKey', 'en')); // Output: Translation not found for key 'missingKey' in locale 'en'\n```\n\n#### Explanation\n\n* `loadLocaleData(locale, data)`: Loads localization data for a specific locale. locale is a string representing the locale (e.g., 'en' for English), and data is an object containing key-value pairs of translations.\n* `translate(key, locale)`: Translates the given key to the specified locale. Returns the translated string if found, otherwise returns a message indicating that the translation was not found.\n\n#### Return Value\n\n* For `loadLocaleData(locale, data)`: No return value.\n* For `translate(key, locale)`: Returns the translated string if found, otherwise returns a message indicating that the translation was not found.\n\n## 📆 Release Date\n\n* v1.0.0 : 08 March 2024\n* v1.0.1 : 11 March 2024\n* v4.0.0 : 11 March 2024\n* v4.0.1 : 12 March 2024\n* v4.0.2 : 18 March 2024\n* v5.0.0 : 31 March 2024\n\n## 🧑 Author\n\n* Facebook : \u003ca href=\"https://www.facebook.com/theonedionys\"\u003e Oned Ionys\u003c/a\u003e\n* Instagram : \u003ca href=\"https://www.instagram.com/onedionys/\"\u003e @onedionys\u003c/a\u003e\n* Twitter : \u003ca href=\"https://twitter.com/onedionys\"\u003e @onedionys\u003c/a\u003e\n* LinkedIn :  \u003ca href=\"https://www.linkedin.com/in/onedionys/\"\u003e @onedionys\u003c/a\u003e\n\n## 📝 License\n\n* Copyright © 2024 One Dionys\n* **One Dionys - Localization Manager is an open source project licensed under the MIT license**\n\n## ☕️ Suppport \u0026 Donation\n\nLove One Dionys - Localization Manager? Support this project by donating or sharing with others in need.\n\n\u003ca href=\"https://www.buymeacoffee.com/onedionys\"\u003e\u003cimg src=\"https://img.shields.io/badge/Buy_Me_A_Coffee-FFDD00?style=for-the-badge\u0026logo=buy-me-a-coffee\u0026logoColor=black\"/\u003e \u003c/a\u003e\n\n**Made with ❤️ One Dionys**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonedionys%2Fonedionys-localization-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonedionys%2Fonedionys-localization-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonedionys%2Fonedionys-localization-manager/lists"}