{"id":21711332,"url":"https://github.com/rignaneseleo/asp-resources-creator","last_synced_at":"2025-08-31T03:36:25.888Z","repository":{"id":132272551,"uuid":"139459113","full_name":"rignaneseleo/ASP-resources-creator","owner":"rignaneseleo","description":"This python script helps you adding resources in an ASP project starting from a string","archived":false,"fork":false,"pushed_at":"2018-07-03T13:41:48.000Z","size":68,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-13T01:48:05.418Z","etag":null,"topics":["asp","asp-net","resx","resx-resources","script","translation"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rignaneseleo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-07-02T15:08:38.000Z","updated_at":"2019-10-16T03:10:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"0e8a87c8-b2a3-492e-85ef-309dcbf11410","html_url":"https://github.com/rignaneseleo/ASP-resources-creator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rignaneseleo/ASP-resources-creator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rignaneseleo%2FASP-resources-creator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rignaneseleo%2FASP-resources-creator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rignaneseleo%2FASP-resources-creator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rignaneseleo%2FASP-resources-creator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rignaneseleo","download_url":"https://codeload.github.com/rignaneseleo/ASP-resources-creator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rignaneseleo%2FASP-resources-creator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272935726,"owners_count":25018135,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-31T02:00:09.071Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["asp","asp-net","resx","resx-resources","script","translation"],"created_at":"2024-11-25T23:21:34.585Z","updated_at":"2025-08-31T03:36:25.844Z","avatar_url":"https://github.com/rignaneseleo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Do you have a lot of strings in your ASP project to put in Resources?\nThis python script makes it fast!\n\n## HOW TO\nSet the resx file path and the languages you need in the arrays:\n\n### Setup\nInsert resources path in _resources_ array and the languages of other resource files in the _languages_ array.\n\n*EXAMPLE*:\n```\n# resources where to look for resource keys\nresources = [\n    r\"C:\\Users\\user\\Documents\\projects\\X\\src\\WebSite\\App_GlobalResources\\Resource1.resx\",\n    r\"C:\\Users\\user\\Documents\\projects\\X\\src\\WebSite\\App_GlobalResources\\Resource2.resx\",\n]\n# languages of other resources where to add the resources\nlanguages = [\n    \"it\"\n]\n```\n### Execute\n+ Run the script (you need Python ofc):\n\n`py script.py`\n\n+ Insert the string you want to add:\n\n![alt text][1]\n\n+ The camelcase key is creted:\n\n![alt text][2]\n\n+ Since the key is not already in the file, it asks you where you want to add the string:\n\n![alt text][3]\n\n+ The string is added and some useful snippets are provided:\n\n![alt text][4]\n\n+ In visual studio with ResX Manager you can see the added resource:\n\n![alt text][5]\n\n#########################################\n\n+ If you try to add again the string, it founds the string in the resources and gives you only the snippets to use it:\n\n![alt text][6]\n\n[1]: https://raw.githubusercontent.com/rignaneseleo/ASP-resources-creator/master/screen/1.PNG \"Give an input string\"\n[2]: https://raw.githubusercontent.com/rignaneseleo/ASP-resources-creator/master/screen/2.PNG \"ResourceKey\"\n[3]: https://raw.githubusercontent.com/rignaneseleo/ASP-resources-creator/master/screen/3.PNG \"Choose the resource\"\n[4]: https://raw.githubusercontent.com/rignaneseleo/ASP-resources-creator/master/screen/4.PNG \"Snippets\"\n[5]: https://raw.githubusercontent.com/rignaneseleo/ASP-resources-creator/master/screen/5.PNG \"ResX Manager check\"\n[6]: https://raw.githubusercontent.com/rignaneseleo/ASP-resources-creator/master/screen/6.PNG \"Resource already present\"\n\n\n## Possible Improvements\n1. If you give a long string input, it generates a long resource key as well\n2. It could also search by the given string (and not only by the resource key)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frignaneseleo%2Fasp-resources-creator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frignaneseleo%2Fasp-resources-creator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frignaneseleo%2Fasp-resources-creator/lists"}