{"id":19777504,"url":"https://github.com/ilib-js/ilib-localespec-doc","last_synced_at":"2026-06-11T19:31:25.010Z","repository":{"id":200883146,"uuid":"705989731","full_name":"iLib-js/ilib-localespec-doc","owner":"iLib-js","description":"Reference for iLib locale specifications across languages and regions.","archived":false,"fork":false,"pushed_at":"2026-06-10T06:19:45.000Z","size":29398,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-06-10T08:04:52.944Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iLib-js.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-10-17T05:08:11.000Z","updated_at":"2026-05-22T06:26:59.000Z","dependencies_parsed_at":"2026-06-10T08:03:05.823Z","dependency_job_id":null,"html_url":"https://github.com/iLib-js/ilib-localespec-doc","commit_stats":null,"previous_names":["ilib-js/ilib-localespec-doc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iLib-js/ilib-localespec-doc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iLib-js%2Filib-localespec-doc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iLib-js%2Filib-localespec-doc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iLib-js%2Filib-localespec-doc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iLib-js%2Filib-localespec-doc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iLib-js","download_url":"https://codeload.github.com/iLib-js/ilib-localespec-doc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iLib-js%2Filib-localespec-doc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34215253,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"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":[],"created_at":"2024-11-12T05:25:18.703Z","updated_at":"2026-06-11T19:31:25.001Z","avatar_url":"https://github.com/iLib-js.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Overview\nThis is documentation for checking in locale's information from [iLib](https://github.com/iLib-js/iLib).  \nHere's a feature list that you can see:\n * Basic Information\n * Names of days and months\n * Range of Meridiem Units\n * Data Format : Date/Time\n * Data Format : DateRange\n * Data Format : Date/Time Duration\n * Data Format : Number\n\nand Please visit [here](Locales.md) to see the locale list.  \n\nSee the [release notes](./ReleaseNotes.md) for details on what is new and what has changed.\n\n#### Preview \n\u003cimg src=\"./images/localeSpecDoc_Snapshot_v14_22_0-webos1.png\" width=\"900\" height=\"600\"/\u003e\n\nRun `npm run updatePreview` while the local dev server is running.\n- Recommended order:\n    1. Start dev server in terminal A: `npm start`\n    2. Capture preview in terminal B: `npm run updatePreview`\n- The script creates a versioned screenshot from `packages.ilibVersion` in `util/config.json` (for example: `localeSpecDoc_Snapshot_v14_22_0-webos1.png`).\n- It also updates the Preview image path in this `README.md`.\n- By default, it auto-detects `basename` from `src/index.js` and captures `http://localhost:3000{basename}`.\n\n## Getting Started\n\nThis project is a simple app that was bootstrapped with [Create React App](https://github.com/facebook/create-react-app) and using [MUI](https://mui.com) to display locale Spec references with [iLib](https://github.com/iLib-js/iLib).  \n\n## Notes\n\n1. This project is already ejected(`eject` in CRA), so you need to maintain all of the configurations yourself.\n\n2. If you want to change the version of ILib or the root of this project, you can change them(`homepage`, `dependencies` in `package.json`, and `basename` in `src/index.js`).\n\n   For example,\n\n```json\n// package.json\n...\n\"ilib\": \"npm:ilib-webos@14.22.0-webos1\",\n...\n\"homepage\": \"http://i18n.lge.com/ilib/localeSpecDoc/reference\",\n...\n```\n```js\n// src/index.js\n...\n\u003cBrowserRouter basename=\"/ilib/localeSpecDoc/reference\"\u003e\n...\n\n```\n3. There is a script file to help the above #2 work easily.   \nFirst, Modify  `util/config.json` file. Then execute a `npm run updatePath` in the root. You will find the data is updated properly as you expect.\nHere is an example of a  `config.json` file.\n```json\n// config.json\n{\n    \"packages\": {\n        \"homepage\": \"http://i18n.lge.com/ilib/localeSpecDoc/reference\",\n        \"ilibVersion\": \"npm:ilib-webos@14.22.0-webos1\"\n    },\n    \"index\": {\n        \"basename\":\"/ilib/localeSpecDoc/reference\"\n    }\n}\n```\n\n4. `npm run updatePath` runs `modifyPath` and `copy` in sequence.\nIt generates `tmp/package.json` and `tmp/index.js`, then copies them into `package.json` and `src/index.js`.\nIf you changed `ilibVersion`, run `npm install` again after `npm run updatePath` so the updated dependency is installed.\n\n5. If you need to update sample years used by Date/DateRange/Copyright pages, modify `src/constants/dateConstants.js`.\nThis does not apply to `src/pages/DaysAndMonths.js`, which intentionally keeps calendar-specific weekday anchors to preserve weekday ordering across Thai Solar, Ethiopic, Persian, and default Gregorian-style calendars.\n\n\n## Available Scripts\n\nIn the project directory, you can run:\n\n### `npm start`\n\nRuns the app in the development mode.\\\nOpen [http://localhost:3000](http://localhost:3000) to view it in your browser.\n\nThe page will reload when you make changes.\\\nYou may also see any lint errors in the console.\n\n### `npm run build`\n\nBuilds the app for production to the `build` folder.\\\nIt correctly bundles React in production mode and optimizes the build for the best performance.\n\nAfter the build step, `postbuild` runs `react-snap` to generate static HTML snapshots.\nOn Linux, WSL, or server environments, you may need to set the Chrome executable path explicitly:\n\n```bash\nexport PUPPETEER_EXECUTABLE_PATH=/usr/bin/google-chrome\nnpm run build\n```\n\nThe build is minified and the filenames include the hashes.\\\nYour app is ready to be deployed!\n\nSee the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filib-js%2Filib-localespec-doc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Filib-js%2Filib-localespec-doc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filib-js%2Filib-localespec-doc/lists"}