{"id":18869377,"url":"https://github.com/codersales/notes-week6-revision-best-practice-software-internationisation","last_synced_at":"2026-01-27T00:07:50.527Z","repository":{"id":200574538,"uuid":"705831981","full_name":"CoderSales/Notes-Week6-Revision-Best-Practice-Software-Internationisation","owner":"CoderSales","description":"Notes-Week6-Revision-Best-Practice-Software-Internationisation","archived":false,"fork":false,"pushed_at":"2023-10-16T22:30:48.000Z","size":464,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-30T16:52:46.067Z","etag":null,"topics":["2023","2023-10","2023-oct","2023-october","msc","msc-y1","msc-y1-s1","msc-y1-s1-w6","notes"],"latest_commit_sha":null,"homepage":"","language":null,"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/CoderSales.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}},"created_at":"2023-10-16T19:21:11.000Z","updated_at":"2023-10-16T21:19:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"9d35d81b-89e4-4c4b-a3d3-eeccf88b9fb6","html_url":"https://github.com/CoderSales/Notes-Week6-Revision-Best-Practice-Software-Internationisation","commit_stats":null,"previous_names":["codersales/notes-week6-revision-best-practice-software-internationisation"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CoderSales/Notes-Week6-Revision-Best-Practice-Software-Internationisation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoderSales%2FNotes-Week6-Revision-Best-Practice-Software-Internationisation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoderSales%2FNotes-Week6-Revision-Best-Practice-Software-Internationisation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoderSales%2FNotes-Week6-Revision-Best-Practice-Software-Internationisation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoderSales%2FNotes-Week6-Revision-Best-Practice-Software-Internationisation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CoderSales","download_url":"https://codeload.github.com/CoderSales/Notes-Week6-Revision-Best-Practice-Software-Internationisation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoderSales%2FNotes-Week6-Revision-Best-Practice-Software-Internationisation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28792642,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T21:49:50.245Z","status":"ssl_error","status_checked_at":"2026-01-26T21:48:29.455Z","response_time":59,"last_error":"SSL_read: 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":["2023","2023-10","2023-oct","2023-october","msc","msc-y1","msc-y1-s1","msc-y1-s1-w6","notes"],"created_at":"2024-11-08T05:16:36.285Z","updated_at":"2026-01-27T00:07:50.509Z","avatar_url":"https://github.com/CoderSales.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Notes-Week6-Revision-Best-Practice-Software-Internationisation\nNotes-Week6-Revision-Best-Practice-Software-Internationisation\n\n## Content\n\nSlide 9/37 [![static/images/Screenshot-2023-10-16-202738-Best-Prac-Slide-1.png](https://github.com/CoderSales/Notes-Week6-Revision-Best-Practice-Software-Internationisation/blob/main/static/images/Screenshot-2023-10-16-202738-Best-Prac-Slide-1.png)](https://learn.ul.ie/d2l/le/lessons/10835/topics/457621)\n\nSlide 10/37 [![static/images/Screenshot-2023-10-16-202738-Best-Prac-Slide-2.png](https://github.com/CoderSales/Notes-Week6-Revision-Best-Practice-Software-Internationisation/blob/main/static/images/Screenshot-2023-10-16-202738-Best-Prac-Slide-2.png)](https://learn.ul.ie/d2l/le/lessons/10835/topics/457621)\n\nSlide 11/37 [![static/images/Screenshot-2023-10-16-205511-Best-Prac-Slide-3.png](https://github.com/CoderSales/Notes-Week6-Revision-Best-Practice-Software-Internationisation/blob/main/static/images/Screenshot-2023-10-16-205511-Best-Prac-Slide-3.png)](https://learn.ul.ie/d2l/le/lessons/10835/topics/457621)\n\nSlide 23/37 [![static/images/Screenshot-2023-10-16-232100-Best-Prac-Slide-Tranlatable-xml.png](https://github.com/CoderSales/Notes-Week6-Revision-Best-Practice-Software-Internationisation/blob/main/static/images/Screenshot-2023-10-16-232100-Best-Prac-Slide-Tranlatable-xml.png)](https://learn.ul.ie/d2l/le/lessons/10835/topics/457621)\n\n\nusually an xml fiile\n\nml = markup language.\n\nxml container to transport text and meta info\n\nso that you can determinee which cols can be translated and which should be imported\n\nbecause don't want the label back.\n\nwhat not ant to end up in xml\n\nstatus of strings:\n\t- anything never translated\n\t- anything changed since translated\n\t- if found bug\n\t- changed English string\n\t- want translators to tranlslate\n\t- needs exported.\n![image](https://github.com/CoderSales/Notes-Week6-Revision-Best-Practice-Software-Internationisation/assets/32943259/62eb0658-b68f-43cb-9fdb-56ac25572160)\n\nin the next weeks in terms of CAP tools\n\n1st of all will look at things like \n\nxml files.\n\n______\n\nwhat would see \n\nxml file\n\nwhat want to visit\n\npurple no\n\ngrey.\n\nxml works like:\n\nversion of \n\nencoding=\"UTF-8\"\u003e\t\n\norange\n\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\n\n[CS4093_Week03_LiveLecture - CS6381 - BEST PRACTICE SOFTWARE INTERNATIONALISATION 2023/4 SEM1 (ul.ie)](https://learn.ul.ie/d2l/le/lessons/10835/topics/457621)\n\n\nlecture slides\n![image](https://github.com/CoderSales/Notes-Week6-Revision-Best-Practice-Software-Internationisation/assets/32943259/ad7400e6-b842-4511-a48f-f84e52a9c4d6)\n\n_____\n\nBREAK\n_________\n\nIs XML  programming language?\n\nIt is a markup language\n\nif want to get stuff in  aformat \n\nthat you can put back into your database\n\nwithout stuff getting overwritten.\n\nIf don't have something like that\nthen you are\nmanually copying things\n\n________\n\nParties involved\n\n________\n\nWho is involved in Software Development\n\nGenerally distinguish between the doing team\n\nand the client\n\n_____\n\nthe doing team\n\ndesigners\ne.g.\nUI Designer\n\noften in large companies \n\nsomeone who does the design\n![image](https://github.com/CoderSales/Notes-Week6-Revision-Best-Practice-Software-Internationisation/assets/32943259/8d6d380a-2276-4e23-a325-badf4ba848b8)\n\n_____\n\n####### Extra notes from ChatGPT3_5\n\nHow do I make an HTTP request in Javascript?\nIn JavaScript, you can make an HTTP request using the XMLHttpRequest object or the fetch API.\nUsing XMLHttpRequest:\n\njavascriptCopy code\nconstxhr = newXMLHttpRequest(); xhr.open('GET', 'https://example.com/api/data'); xhr.onload= () =\u003e{ if(xhr.status=== 200) { console.log(xhr.responseText); } else{ console.log('Request failed. Returned status of '+ xhr.status); } }; xhr.send(); \nUsing fetch API:\n\njavascriptCopy code\nfetch('https://example.com/api/data') .then(response=\u003e{ if(!response.ok) { thrownewError('Network response was not ok'); } returnresponse.json(); }) .then(data=\u003econsole.log(data)) .catch(error=\u003econsole.error('Error:', error)); \nIn both cases, you can replace the URL with the endpoint you want to send the request to and modify the request method (e.g. POST, PUT, DELETE) if needed.\n\nplease explain the code used for the fetch API in the previous response\nCertainly! Here's a more detailed explanation of the code used for the fetch API example:\n\njavascriptCopy code\nfetch('https://example.com/api/data') .then(response=\u003e{ if(!response.ok) { thrownewError('Network response was not ok'); } returnresponse.json(); }) .then(data=\u003econsole.log(data)) .catch(error=\u003econsole.error('Error:', error)); \nThe fetch function is used to make an HTTP request. It takes the URL of the resource to fetch as its first argument, and returns a Promise that resolves to the Response object representing the server's response.\nThe then method is called on the Promise returned by fetch, which takes a callback function that is executed when the Promise is fulfilled. This callback function takes the Response object as its argument, which can be used to check the status of the response and extract its data.\nIn the callback function, the ok property of the Response object is checked to see if the request was successful. If it is not, an error is thrown.\nIf the response is OK, the json method is called on the Response object, which returns a Promise that resolves to the parsed JSON data. This is done assuming that the response body is in JSON format. If the response body is in a different format, you would use a different method to parse the data (such as text).\nAnother then method is called on the Promise returned by json, which takes a callback function that is executed when the Promise is fulfilled. This callback function takes the parsed JSON data as its argument, which can be used as needed (in this case, it's logged to the console).\nIf there was an error at any point in the chain of Promises (for example, if the network request failed), the catch method is called on the Promise returned by fetch, which takes a callback function that is executed when the Promise is rejected. This callback function takes the error object as its argument, which can be used to handle the error (in this case, it's logged to the console).![image](https://github.com/CoderSales/Notes-Week6-Revision-Best-Practice-Software-Internationisation/assets/32943259/306be2cc-d685-4927-b0a6-50968d43f047)\n\n____\n\n## References\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodersales%2Fnotes-week6-revision-best-practice-software-internationisation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodersales%2Fnotes-week6-revision-best-practice-software-internationisation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodersales%2Fnotes-week6-revision-best-practice-software-internationisation/lists"}