commit 7b2f4e957bf8688138dfab6f6016a07c3dfa0518
parent 5c605c776dcb0f037ff0d09a51b7f3de6a0561e5
Author: triesap <137732411+triesap@users.noreply.github.com>
Date: Wed, 5 Mar 2025 08:50:42 +0000
locales: add localised `en` messages, compiled json data exports
Diffstat:
11 files changed, 1045 insertions(+), 10 deletions(-)
diff --git a/locales/.gitignore b/locales/.gitignore
@@ -18,15 +18,30 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*
-# local env files
-.env.local
-.env.development.local
-.env.test.local
-.env.production.local
-
# turbo
.turbo
-_tmp
+
+# Output
+.output
+/build
+dist
+
+# local env files
+.env*
+!.env.example
+
+
+# Vite
+vite.config.js.timestamp-*
+vite.config.ts.timestamp-*
+
+# local
+.tmp*
+.backup*
+.dev*
.vscode
notes*.txt
+notes*.md
+git-diff.txt
+justfile
diff --git a/locales/package.json b/locales/package.json
@@ -3,9 +3,26 @@
"version": "0.0.0",
"private": true,
"license": "GPLv3",
- "files": [
- "iso-639_1.json"
- ],
+ "type": "module",
+ "main": "dist/index.js",
+ "module": "dist/index.js",
+ "types": "dist/index.d.ts",
+ "exports": {
+ ".": {
+ "import": "./dist/index.js",
+ "require": "./dist/index.cjs"
+ }
+ },
+ "scripts": {
+ "build": "tsup",
+ "dev": "tsup --watch",
+ "watch": "tsc -w"
+ },
+ "devDependencies": {
+ "@types/node": "^22.13.1",
+ "tsup": "^6.2.3",
+ "typescript": "^5.3.3"
+ },
"publishConfig": {
"access": "public"
}
diff --git a/locales/src/data/iso3166_2.json b/locales/src/data/iso3166_2.json
@@ -0,0 +1,251 @@
+{
+ "AD": "Andorra",
+ "AE": "United Arab Emirates",
+ "AF": "Afghanistan",
+ "AG": "Antigua and Barbuda",
+ "AI": "Anguilla",
+ "AL": "Albania",
+ "AM": "Armenia",
+ "AO": "Angola",
+ "AQ": "Antarctica",
+ "AR": "Argentina",
+ "AS": "American Samoa",
+ "AT": "Austria",
+ "AU": "Australia",
+ "AW": "Aruba",
+ "AX": "Åland Islands",
+ "AZ": "Azerbaijan",
+ "BA": "Bosnia and Herzegovina",
+ "BB": "Barbados",
+ "BD": "Bangladesh",
+ "BE": "Belgium",
+ "BF": "Burkina Faso",
+ "BG": "Bulgaria",
+ "BH": "Bahrain",
+ "BI": "Burundi",
+ "BJ": "Benin",
+ "BL": "Saint Barthélemy",
+ "BM": "Bermuda",
+ "BN": "Brunei Darussalam",
+ "BO": "Bolivia",
+ "BQ": "Bonaire, Sint Eustatius and Saba",
+ "BR": "Brazil",
+ "BS": "Bahamas",
+ "BT": "Bhutan",
+ "BV": "Bouvet Island",
+ "BW": "Botswana",
+ "BY": "Belarus",
+ "BZ": "Belize",
+ "CA": "Canada",
+ "CC": "Cocos (Keeling) Islands",
+ "CD": "Democratic Republic of the Congo",
+ "CF": "Central African Republic",
+ "CG": "Congo",
+ "CH": "Switzerland",
+ "CI": "Côte d'Ivoire",
+ "CK": "Cook Islands",
+ "CL": "Chile",
+ "CM": "Cameroon",
+ "CN": "China",
+ "CO": "Colombia",
+ "CR": "Costa Rica",
+ "CU": "Cuba",
+ "CV": "Cabo Verde",
+ "CW": "Curaçao",
+ "CX": "Christmas Island",
+ "CY": "Cyprus",
+ "CZ": "Czechia",
+ "DE": "Germany",
+ "DJ": "Djibouti",
+ "DK": "Denmark",
+ "DM": "Dominica",
+ "DO": "Dominican Republic",
+ "DZ": "Algeria",
+ "EC": "Ecuador",
+ "EE": "Estonia",
+ "EG": "Egypt",
+ "EH": "Western Sahara",
+ "ER": "Eritrea",
+ "ES": "Spain",
+ "ET": "Ethiopia",
+ "FI": "Finland",
+ "FJ": "Fiji",
+ "FK": "Malvinas Islands",
+ "FM": "Federated States of Micronesia",
+ "FO": "Faroe Islands",
+ "FR": "France",
+ "GA": "Gabon",
+ "GB": "United Kingdom of Great Britain and Northern Ireland",
+ "GD": "Grenada",
+ "GE": "Georgia",
+ "GF": "French Guiana",
+ "GG": "Guernsey",
+ "GH": "Ghana",
+ "GI": "Gibraltar",
+ "GL": "Greenland",
+ "GM": "Gambia",
+ "GN": "Guinea",
+ "GP": "Guadeloupe",
+ "GQ": "Equatorial Guinea",
+ "GR": "Greece",
+ "GS": "South Georgia and the South Sandwich Islands",
+ "GT": "Guatemala",
+ "GU": "Guam",
+ "GW": "Guinea-Bissau",
+ "GY": "Guyana",
+ "HK": "Hong Kong",
+ "HM": "Heard Island and McDonald Islands",
+ "HN": "Honduras",
+ "HR": "Croatia",
+ "HT": "Haiti",
+ "HU": "Hungary",
+ "ID": "Indonesia",
+ "IE": "Ireland",
+ "IL": "Israel",
+ "IM": "Isle of Man",
+ "IN": "India",
+ "IO": "British Indian Ocean Territory",
+ "IQ": "Iraq",
+ "IR": "Iran",
+ "IS": "Iceland",
+ "IT": "Italy",
+ "JE": "Jersey",
+ "JM": "Jamaica",
+ "JO": "Jordan",
+ "JP": "Japan",
+ "KE": "Kenya",
+ "KG": "Kyrgyzstan",
+ "KH": "Cambodia",
+ "KI": "Kiribati",
+ "KM": "Comoros",
+ "KN": "Saint Kitts and Nevis",
+ "KP": "Democratic People's Republic of Korea",
+ "KR": "Republic of Korea",
+ "KW": "Kuwait",
+ "KY": "Cayman Islands",
+ "KZ": "Kazakhstan",
+ "LA": "Lao People's Democratic Republic",
+ "LB": "Lebanon",
+ "LC": "Saint Lucia",
+ "LI": "Liechtenstein",
+ "LK": "Sri Lanka",
+ "LR": "Liberia",
+ "LS": "Lesotho",
+ "LT": "Lithuania",
+ "LU": "Luxembourg",
+ "LV": "Latvia",
+ "LY": "Libya",
+ "MA": "Morocco",
+ "MC": "Monaco",
+ "MD": "Moldova",
+ "ME": "Montenegro",
+ "MF": "Saint Martin",
+ "MG": "Madagascar",
+ "MH": "Marshall Islands",
+ "MK": "North Macedonia",
+ "ML": "Mali",
+ "MM": "Myanmar",
+ "MN": "Mongolia",
+ "MO": "Macao",
+ "MP": "Northern Mariana Islands",
+ "MQ": "Martinique",
+ "MR": "Mauritania",
+ "MS": "Montserrat",
+ "MT": "Malta",
+ "MU": "Mauritius",
+ "MV": "Maldives",
+ "MW": "Malawi",
+ "MX": "Mexico",
+ "MY": "Malaysia",
+ "MZ": "Mozambique",
+ "NA": "Namibia",
+ "NC": "New Caledonia",
+ "NE": "Niger",
+ "NF": "Norfolk Island",
+ "NG": "Nigeria",
+ "NI": "Nicaragua",
+ "NL": "Netherlands",
+ "NO": "Norway",
+ "NP": "Nepal",
+ "NR": "Nauru",
+ "NU": "Niue",
+ "NZ": "New Zealand",
+ "OM": "Oman",
+ "PA": "Panama",
+ "PE": "Peru",
+ "PF": "French Polynesia",
+ "PG": "Papua New Guinea",
+ "PH": "Philippines",
+ "PK": "Pakistan",
+ "PL": "Poland",
+ "PM": "Saint Pierre and Miquelon",
+ "PN": "Pitcairn",
+ "PR": "Puerto Rico",
+ "PS": "Palestine",
+ "PT": "Portugal",
+ "PW": "Palau",
+ "PY": "Paraguay",
+ "QA": "Qatar",
+ "RE": "Réunion",
+ "RO": "Romania",
+ "RS": "Serbia",
+ "RU": "Russian Federation",
+ "RW": "Rwanda",
+ "SA": "Saudi Arabia",
+ "SB": "Solomon Islands",
+ "SC": "Seychelles",
+ "SD": "Sudan",
+ "SE": "Sweden",
+ "SG": "Singapore",
+ "SH": "Saint Helena, Ascension and Tristan da Cunha",
+ "SI": "Slovenia",
+ "SJ": "Svalbard and Jan Mayen",
+ "SK": "Slovakia",
+ "SL": "Sierra Leone",
+ "SM": "San Marino",
+ "SN": "Senegal",
+ "SO": "Somalia",
+ "SR": "Suriname",
+ "SS": "South Sudan",
+ "ST": "Sao Tome and Principe",
+ "SV": "El Salvador",
+ "SX": "Sint Maarten",
+ "SY": "Syrian Arab Republic",
+ "SZ": "Eswatini",
+ "TC": "Turks and Caicos Islands",
+ "TD": "Chad",
+ "TF": "French Southern Territories",
+ "TG": "Togo",
+ "TH": "Thailand",
+ "TJ": "Tajikistan",
+ "TK": "Tokelau",
+ "TL": "Timor-Leste",
+ "TM": "Turkmenistan",
+ "TN": "Tunisia",
+ "TO": "Tonga",
+ "TR": "Türkiye",
+ "TT": "Trinidad and Tobago",
+ "TV": "Tuvalu",
+ "TW": "Taiwan",
+ "TZ": "Tanzania",
+ "UA": "Ukraine",
+ "UG": "Uganda",
+ "UM": "United States Minor Outlying Islands",
+ "US": "United States of America",
+ "UY": "Uruguay",
+ "UZ": "Uzbekistan",
+ "VA": "Holy See",
+ "VC": "Saint Vincent and the Grenadines",
+ "VE": "Venezuela",
+ "VG": "British Virgin Islands",
+ "VI": "U.S. Virgin Islands",
+ "VN": "Viet Nam",
+ "VU": "Vanuatu",
+ "WF": "Wallis and Futuna",
+ "WS": "Samoa",
+ "YE": "Yemen",
+ "YT": "Mayotte",
+ "ZA": "South Africa",
+ "ZM": "Zambia",
+ "ZW": "Zimbabwe"
+}
+\ No newline at end of file
diff --git a/locales/src/data/iso639_1.json b/locales/src/data/iso639_1.json
@@ -0,0 +1,183 @@
+{
+ "aa": "Afar",
+ "ab": "Abkhaz",
+ "ae": "Avestan",
+ "af": "Afrikaans",
+ "ak": "Akan",
+ "am": "አማርኛ",
+ "ar": "العربية",
+ "as": "অসমীয়া",
+ "av": "Avar",
+ "ay": "Aymara",
+ "az": "Azərbaycanca",
+ "ba": "Bashkir",
+ "be": "Беларуская",
+ "bg": "Български",
+ "bh": "Bihari",
+ "bi": "Bislama",
+ "bm": "Bambara",
+ "bn": "বাংলা",
+ "bo": "བོད་སྐད",
+ "br": "Breton",
+ "bs": "Bosanski",
+ "ca": "Català",
+ "ce": "Chechen",
+ "ch": "Chamorro",
+ "co": "Corsu",
+ "cr": "Cree",
+ "cs": "Čeština",
+ "cu": "Church Slavonic",
+ "cv": "Chuvash",
+ "cy": "Cymraeg",
+ "da": "Dansk",
+ "de": "Deutsch",
+ "dv": "Divehi",
+ "dz": "Dzongkha",
+ "ee": "Ewe",
+ "el": "Ελληνικά",
+ "en": "English",
+ "eo": "Esperanto",
+ "es": "Español",
+ "et": "Eesti",
+ "eu": "Euskara",
+ "fa": "فارسی",
+ "ff": "Fula",
+ "fi": "Suomi",
+ "fj": "Fijian",
+ "fo": "Føroyskt",
+ "fr": "Français",
+ "fy": "Frysk",
+ "ga": "Gaeilge",
+ "gd": "Gàidhlig",
+ "gl": "Galego",
+ "gn": "Guarani",
+ "gu": "ગુજરાતી",
+ "gv": "Manx",
+ "ha": "Hausa",
+ "he": "עברית",
+ "hi": "हिन्दी",
+ "ho": "Hiri Motu",
+ "hr": "Hrvatski",
+ "ht": "Kreyòl Ayisyen",
+ "hu": "Magyar",
+ "hy": "Հայերեն",
+ "hz": "Herero",
+ "ia": "Interlingua",
+ "id": "Bahasa Indonesia",
+ "ie": "Interlingue",
+ "ig": "Igbo",
+ "ii": "Sichuan Yi",
+ "ik": "Inupiaq",
+ "io": "Ido",
+ "is": "Íslenska",
+ "it": "Italiano",
+ "iu": "Inuktitut",
+ "ja": "日本語",
+ "jv": "Jawa",
+ "ka": "ქართული",
+ "kbp": "Kabuverdianu",
+ "kk": "Қазақша",
+ "kl": "Kalaallisut",
+ "km": "ខ្មែរ",
+ "kn": "ಕನ್ನಡ",
+ "ko": "한국어",
+ "kr": "Kanuri",
+ "ks": "Kashmiri",
+ "ku": "Kurdî",
+ "kv": "Komi",
+ "kw": "Cornish",
+ "ky": "Кыргызча",
+ "la": "Latina",
+ "lb": "Lëtzebuergesch",
+ "lg": "Ganda",
+ "li": "Limburgish",
+ "ln": "Lingala",
+ "lo": "ລາວ",
+ "lt": "Lietuvių",
+ "lu": "Luba-Katanga",
+ "lv": "Latviešu",
+ "mg": "Malagasy",
+ "mh": "Marshallese",
+ "mi": "Māori",
+ "mk": "Македонски",
+ "ml": "മലയാളം",
+ "mn": "Монгол",
+ "mo": "Moldovan",
+ "mr": "मराठी",
+ "ms": "Malay",
+ "mt": "Maltese",
+ "my": "မြန်မာစာ",
+ "na": "Nauru",
+ "nb": "Norsk bokmål",
+ "nd": "North Ndebele",
+ "ne": "नेपाली",
+ "ng": "Ndonga",
+ "nl": "Nederlands",
+ "nn": "Norsk nynorsk",
+ "no": "Norsk",
+ "nr": "South Ndebele",
+ "nv": "Navajo",
+ "ny": "Chichewa",
+ "oc": "Occitan",
+ "oj": "Ojibwe",
+ "om": "Oromo",
+ "or": "ଓଡ଼ିଆ",
+ "os": "Ossetian",
+ "pa": "ਪੰਜਾਬੀ",
+ "pl": "Polski",
+ "ps": "Pashto",
+ "pt": "Português",
+ "qu": "Quechua",
+ "rm": "Romansh",
+ "rn": "Kirundi",
+ "ro": "Română",
+ "ru": "Русский",
+ "rw": "Kinyarwanda",
+ "sa": "संस्कृतम्",
+ "sc": "Sardinian",
+ "sd": "سنڌي",
+ "se": "Northern Sami",
+ "sg": "Sango",
+ "si": "සිංහල",
+ "sk": "Slovenčina",
+ "sl": "Slovenščina",
+ "sm": "Samoan",
+ "sn": "ChiShona",
+ "so": "Soomaaliga",
+ "sq": "Shqip",
+ "sr": "Српски",
+ "ss": "Swati",
+ "st": "Southern Sotho",
+ "su": "Basa Sunda",
+ "sv": "Svenska",
+ "sw": "Kiswahili",
+ "ta": "தமிழ்",
+ "te": "తెలుగు",
+ "tg": "Тоҷикӣ",
+ "th": "ไทย",
+ "ti": "Tigrinya",
+ "tk": "Türkmençe",
+ "tl": "Tagalog",
+ "tn": "Tswana",
+ "to": "Tongan",
+ "tr": "Türkçe",
+ "ts": "Tsonga",
+ "tt": "Tatar",
+ "tw": "Twi",
+ "ty": "Tahitian",
+ "ug": "ئۇيغۇرچە",
+ "uk": "Українська",
+ "ur": "اردو",
+ "uz": "O‘zbek",
+ "ve": "Venda",
+ "vi": "Tiếng Việt",
+ "vo": "Volapük",
+ "wa": "Walloon",
+ "wo": "Wolof",
+ "xh": "Xhosa",
+ "yi": "ייִדיש",
+ "yo": "Yorùbá",
+ "za": "Zhuang",
+ "zu": "isiZulu",
+ "zz": "Zazaki"
+}
+\ No newline at end of file
diff --git a/locales/src/index.ts b/locales/src/index.ts
@@ -0,0 +1,6 @@
+import iso3166_2 from "./data/iso3166_2.json";
+import iso639_1 from "./data/iso639_1.json";
+
+const locales = [`en`] as const;
+
+export { iso3166_2, iso639_1, locales };
diff --git a/locales/src/messages/en/common.json b/locales/src/messages/en/common.json
@@ -0,0 +1,187 @@
+{
+ "about_us": "About us",
+ "accept": "Accept",
+ "account_type": "Account type",
+ "activation": "Activation",
+ "active": "Active",
+ "add": "Add",
+ "add_current_location": "Add current location",
+ "add_map_location": "Add map location",
+ "add_new": "Add new",
+ "add_new_location": "Add new location",
+ "agree": "Agree",
+ "all_accounts": "All accounts",
+ "all_rights_reserved": "all rights reserved",
+ "area": "Area",
+ "at": "At",
+ "authenticated": "Authenticated",
+ "available_balance": "Available balance",
+ "back": "Back",
+ "bag": "Bag",
+ "bags": "Bags",
+ "bank_account": "Bank account",
+ "banner_photo": "Banner photo",
+ "bio": "Bio",
+ "blog": "Blog",
+ "business": "Business",
+ "business_name": "Business name",
+ "business_type": "Business type",
+ "cancel": "Cancel",
+ "choose_a_profile_name": "Choose a profile name",
+ "climate": "Climate",
+ "close": "Close",
+ "color_mode": "Color mode",
+ "complete": "Complete",
+ "configure": "Configure",
+ "configure_your_device": "Configure your device",
+ "confirm_log_in": "Confirm log in",
+ "confirm_sign_up": "Confirm sign up",
+ "confirm_your_email": "Confirm your email",
+ "connect": "Connect",
+ "connected": "Connected",
+ "connection": "Connection",
+ "contact": "Contact",
+ "continue": "Continue",
+ "coordinates": "Coordinates",
+ "country": "Country",
+ "current_location": "Current location",
+ "dark": "Dark",
+ "date_created": "Date created",
+ "date_modified": "Date modified",
+ "delete": "Delete",
+ "description": "Description",
+ "details": "Details",
+ "device": "Device",
+ "disagree": "Disagree",
+ "disconnect": "Disconnect",
+ "do_you_want_to_continue_q": "Do you want to continue?",
+ "done": "Done",
+ "edit": "Edit",
+ "elevation": "Elevation",
+ "end_date": "End date",
+ "endpoint": "Endpoint",
+ "estate": "Estate",
+ "failure_to_process_the_request": "Failure to process the request",
+ "faq": "FAQ",
+ "farm": "Farm",
+ "farm_area": "Farm area",
+ "farm_land": "Farm land",
+ "file_name": "File name",
+ "file_size": "File size",
+ "filters": "Filters",
+ "from": "From",
+ "general": "General",
+ "greeting_welcome": "Welcome!",
+ "hex": "Hex",
+ "highest_price": "Highest price",
+ "home": "Home",
+ "inbox": "Inbox",
+ "inflows": "Inflows",
+ "items": "Items",
+ "key": "Key",
+ "keypair": "Keypair",
+ "keys": "Keys",
+ "land_area": "Land area",
+ "land_plot": "Land plot",
+ "latitude": "Latitude",
+ "light": "Light",
+ "list": "List",
+ "listing": "Listing",
+ "location": "Location",
+ "locations": "Locations",
+ "log_in": "Log in",
+ "longitude": "Longitude",
+ "lot": "Lot",
+ "lot_name": "Lot name",
+ "lowest_price": "Lowest price",
+ "make_primary": "Make primary",
+ "map": "Map",
+ "market": "Market",
+ "message": "Message",
+ "messages": "Messages",
+ "month": "Month",
+ "month_to_date": "Month to date",
+ "name": "Name",
+ "name_of_farm_or_estate": "Name of farm or estate",
+ "new": "New",
+ "no": "No",
+ "no_items_to_display": "No items to display",
+ "no_locations_saved": "No locations saved",
+ "nostr": "Nostr",
+ "not_connected": "Not connected",
+ "notifications": "Notifications",
+ "npub": "Npub",
+ "nsec": "Nsec",
+ "optional": "Optional",
+ "options": "Options",
+ "options_list": "Options list",
+ "order": "Order",
+ "origin": "Origin",
+ "other": "Other",
+ "outflows": "Outflows",
+ "overview": "Overview",
+ "page": "Page",
+ "per": "Per",
+ "personal": "Personal",
+ "photo": "Photo",
+ "photo_hosting": "Photo hosting",
+ "photos": "Photos",
+ "post": "Post",
+ "preview": "Preview",
+ "price": "Price",
+ "process": "Process",
+ "product": "Product",
+ "product_location": "Product location",
+ "product_name": "Product name",
+ "products": "Products",
+ "profile": "Profile",
+ "profile_name": "Profile name",
+ "profile_photo": "Profile photo",
+ "profiles": "Profiles",
+ "public_key": "Public key",
+ "publish": "Publish",
+ "quantity": "Quantity",
+ "quit": "Quit",
+ "reading": "Reading",
+ "relay": "Relay",
+ "relays": "Relays",
+ "reset": "Reset",
+ "return": "Return",
+ "review": "Review",
+ "search": "Search",
+ "secret_key": "Secret key",
+ "settings": "Settings",
+ "setup": "Setup",
+ "setup_for_farmer": "Setup for Farmer",
+ "setup_your_account": "Setup your account",
+ "sign_up": "Sign up",
+ "size": "Size",
+ "skip": "Skip",
+ "socials": "Socials",
+ "soil": "Soil",
+ "start_date": "Start date",
+ "status": "Status",
+ "stop": "Stop",
+ "subject": "Subject",
+ "submit": "Submit",
+ "summary": "Summary",
+ "terms_of_use_agreement": "Terms of Use agreement",
+ "this_action_is_irreversible": "This action is irreversible",
+ "title": "Title",
+ "to": "To",
+ "unlock": "Unlock",
+ "update": "Update",
+ "upload_url": "Upload url",
+ "url": "url",
+ "username": "Username",
+ "using_public_key": "Using public key",
+ "value": "Value",
+ "view": "View",
+ "wallet": "Wallet",
+ "website": "Website",
+ "year": "Year",
+ "yes": "Yes",
+ "your_email": "Your email",
+ "your_name": "Your name",
+ "zine": "Zine"
+}
+\ No newline at end of file
diff --git a/locales/src/messages/en/countries.json b/locales/src/messages/en/countries.json
@@ -0,0 +1,251 @@
+{
+ "AD": "Andorra",
+ "AE": "United Arab Emirates",
+ "AF": "Afghanistan",
+ "AG": "Antigua and Barbuda",
+ "AI": "Anguilla",
+ "AL": "Albania",
+ "AM": "Armenia",
+ "AO": "Angola",
+ "AQ": "Antarctica",
+ "AR": "Argentina",
+ "AS": "American Samoa",
+ "AT": "Austria",
+ "AU": "Australia",
+ "AW": "Aruba",
+ "AX": "Åland Islands",
+ "AZ": "Azerbaijan",
+ "BA": "Bosnia and Herzegovina",
+ "BB": "Barbados",
+ "BD": "Bangladesh",
+ "BE": "Belgium",
+ "BF": "Burkina Faso",
+ "BG": "Bulgaria",
+ "BH": "Bahrain",
+ "BI": "Burundi",
+ "BJ": "Benin",
+ "BL": "Saint Barthélemy",
+ "BM": "Bermuda",
+ "BN": "Brunei Darussalam",
+ "BO": "Bolivia",
+ "BQ": "Bonaire, Sint Eustatius and Saba",
+ "BR": "Brazil",
+ "BS": "Bahamas",
+ "BT": "Bhutan",
+ "BV": "Bouvet Island",
+ "BW": "Botswana",
+ "BY": "Belarus",
+ "BZ": "Belize",
+ "CA": "Canada",
+ "CC": "Cocos (Keeling) Islands",
+ "CD": "Democratic Republic of the Congo",
+ "CF": "Central African Republic",
+ "CG": "Congo",
+ "CH": "Switzerland",
+ "CI": "Côte d'Ivoire",
+ "CK": "Cook Islands",
+ "CL": "Chile",
+ "CM": "Cameroon",
+ "CN": "China",
+ "CO": "Colombia",
+ "CR": "Costa Rica",
+ "CU": "Cuba",
+ "CV": "Cabo Verde",
+ "CW": "Curaçao",
+ "CX": "Christmas Island",
+ "CY": "Cyprus",
+ "CZ": "Czechia",
+ "DE": "Germany",
+ "DJ": "Djibouti",
+ "DK": "Denmark",
+ "DM": "Dominica",
+ "DO": "Dominican Republic",
+ "DZ": "Algeria",
+ "EC": "Ecuador",
+ "EE": "Estonia",
+ "EG": "Egypt",
+ "EH": "Western Sahara",
+ "ER": "Eritrea",
+ "ES": "Spain",
+ "ET": "Ethiopia",
+ "FI": "Finland",
+ "FJ": "Fiji",
+ "FK": "Malvinas Islands",
+ "FM": "Federated States of Micronesia",
+ "FO": "Faroe Islands",
+ "FR": "France",
+ "GA": "Gabon",
+ "GB": "United Kingdom of Great Britain and Northern Ireland",
+ "GD": "Grenada",
+ "GE": "Georgia",
+ "GF": "French Guiana",
+ "GG": "Guernsey",
+ "GH": "Ghana",
+ "GI": "Gibraltar",
+ "GL": "Greenland",
+ "GM": "Gambia",
+ "GN": "Guinea",
+ "GP": "Guadeloupe",
+ "GQ": "Equatorial Guinea",
+ "GR": "Greece",
+ "GS": "South Georgia and the South Sandwich Islands",
+ "GT": "Guatemala",
+ "GU": "Guam",
+ "GW": "Guinea-Bissau",
+ "GY": "Guyana",
+ "HK": "Hong Kong",
+ "HM": "Heard Island and McDonald Islands",
+ "HN": "Honduras",
+ "HR": "Croatia",
+ "HT": "Haiti",
+ "HU": "Hungary",
+ "ID": "Indonesia",
+ "IE": "Ireland",
+ "IL": "Israel",
+ "IM": "Isle of Man",
+ "IN": "India",
+ "IO": "British Indian Ocean Territory",
+ "IQ": "Iraq",
+ "IR": "Iran",
+ "IS": "Iceland",
+ "IT": "Italy",
+ "JE": "Jersey",
+ "JM": "Jamaica",
+ "JO": "Jordan",
+ "JP": "Japan",
+ "KE": "Kenya",
+ "KG": "Kyrgyzstan",
+ "KH": "Cambodia",
+ "KI": "Kiribati",
+ "KM": "Comoros",
+ "KN": "Saint Kitts and Nevis",
+ "KP": "Democratic People's Republic of Korea",
+ "KR": "Republic of Korea",
+ "KW": "Kuwait",
+ "KY": "Cayman Islands",
+ "KZ": "Kazakhstan",
+ "LA": "Lao People's Democratic Republic",
+ "LB": "Lebanon",
+ "LC": "Saint Lucia",
+ "LI": "Liechtenstein",
+ "LK": "Sri Lanka",
+ "LR": "Liberia",
+ "LS": "Lesotho",
+ "LT": "Lithuania",
+ "LU": "Luxembourg",
+ "LV": "Latvia",
+ "LY": "Libya",
+ "MA": "Morocco",
+ "MC": "Monaco",
+ "MD": "Moldova",
+ "ME": "Montenegro",
+ "MF": "Saint Martin",
+ "MG": "Madagascar",
+ "MH": "Marshall Islands",
+ "MK": "North Macedonia",
+ "ML": "Mali",
+ "MM": "Myanmar",
+ "MN": "Mongolia",
+ "MO": "Macao",
+ "MP": "Northern Mariana Islands",
+ "MQ": "Martinique",
+ "MR": "Mauritania",
+ "MS": "Montserrat",
+ "MT": "Malta",
+ "MU": "Mauritius",
+ "MV": "Maldives",
+ "MW": "Malawi",
+ "MX": "Mexico",
+ "MY": "Malaysia",
+ "MZ": "Mozambique",
+ "NA": "Namibia",
+ "NC": "New Caledonia",
+ "NE": "Niger",
+ "NF": "Norfolk Island",
+ "NG": "Nigeria",
+ "NI": "Nicaragua",
+ "NL": "Netherlands",
+ "NO": "Norway",
+ "NP": "Nepal",
+ "NR": "Nauru",
+ "NU": "Niue",
+ "NZ": "New Zealand",
+ "OM": "Oman",
+ "PA": "Panama",
+ "PE": "Peru",
+ "PF": "French Polynesia",
+ "PG": "Papua New Guinea",
+ "PH": "Philippines",
+ "PK": "Pakistan",
+ "PL": "Poland",
+ "PM": "Saint Pierre and Miquelon",
+ "PN": "Pitcairn",
+ "PR": "Puerto Rico",
+ "PS": "Palestine",
+ "PT": "Portugal",
+ "PW": "Palau",
+ "PY": "Paraguay",
+ "QA": "Qatar",
+ "RE": "Réunion",
+ "RO": "Romania",
+ "RS": "Serbia",
+ "RU": "Russian Federation",
+ "RW": "Rwanda",
+ "SA": "Saudi Arabia",
+ "SB": "Solomon Islands",
+ "SC": "Seychelles",
+ "SD": "Sudan",
+ "SE": "Sweden",
+ "SG": "Singapore",
+ "SH": "Saint Helena, Ascension and Tristan da Cunha",
+ "SI": "Slovenia",
+ "SJ": "Svalbard and Jan Mayen",
+ "SK": "Slovakia",
+ "SL": "Sierra Leone",
+ "SM": "San Marino",
+ "SN": "Senegal",
+ "SO": "Somalia",
+ "SR": "Suriname",
+ "SS": "South Sudan",
+ "ST": "Sao Tome and Principe",
+ "SV": "El Salvador",
+ "SX": "Sint Maarten",
+ "SY": "Syrian Arab Republic",
+ "SZ": "Eswatini",
+ "TC": "Turks and Caicos Islands",
+ "TD": "Chad",
+ "TF": "French Southern Territories",
+ "TG": "Togo",
+ "TH": "Thailand",
+ "TJ": "Tajikistan",
+ "TK": "Tokelau",
+ "TL": "Timor-Leste",
+ "TM": "Turkmenistan",
+ "TN": "Tunisia",
+ "TO": "Tonga",
+ "TR": "Türkiye",
+ "TT": "Trinidad and Tobago",
+ "TV": "Tuvalu",
+ "TW": "Taiwan",
+ "TZ": "Tanzania",
+ "UA": "Ukraine",
+ "UG": "Uganda",
+ "UM": "United States Minor Outlying Islands",
+ "US": "United States of America",
+ "UY": "Uruguay",
+ "UZ": "Uzbekistan",
+ "VA": "Holy See",
+ "VC": "Saint Vincent and the Grenadines",
+ "VE": "Venezuela",
+ "VG": "British Virgin Islands",
+ "VI": "U.S. Virgin Islands",
+ "VN": "Viet Nam",
+ "VU": "Vanuatu",
+ "WF": "Wallis and Futuna",
+ "WS": "Samoa",
+ "YE": "Yemen",
+ "YT": "Mayotte",
+ "ZA": "South Africa",
+ "ZM": "Zambia",
+ "ZW": "Zimbabwe"
+}
+\ No newline at end of file
diff --git a/locales/src/messages/en/eula.json b/locales/src/messages/en/eula.json
@@ -0,0 +1,47 @@
+{
+ "acceptance_of_terms": {
+ "body": "By using our Application, you signify your acceptance of this EULA. If you do not agree to this EULA, you may not use our Application.",
+ "title": "Acceptance of Terms"
+ },
+ "changes": {
+ "body": "We reserve the right to update or modify this EULA at any time and without prior notice. Your continued use of our application following any changes to this EULA will be deemed to be your acceptance of such changes.",
+ "title": "Changes to EULA"
+ },
+ "consequences_of_violation": {
+ "body": "Any violation of this EULA, including the prohibited content and conduct outlined above, may result in the termination of your access to our application.",
+ "title": "Consequences of Violation"
+ },
+ "contact": {
+ "body": "If you have any questions about this EULA, please contact us at info@radroots.market",
+ "title": "Contact Information"
+ },
+ "disclaimer": {
+ "body": "Our application is provided \"as is\" and \"as available\" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and fitness for a particular purpose. We do not guarantee that our application will be uninterrupted or error-free. In no event shall Radroots Inc. be liable for any damages whatsoever, including but not limited to direct, indirect, special, incidental, or consequential damages, arising out of or in connection with the use or inability to use our application.",
+ "title": "Disclaimer of Warranties and Limitation of Liability"
+ },
+ "error": {
+ "required": "The user agreement is required to use the application"
+ },
+ "introduction": {
+ "body": "This End User License Agreement (\"EULA\") is a legal agreement between you and Radroots Inc. for the use of our mobile application Radroots. By installing, accessing, or using our application, you agree to be bound by the terms and conditions of this EULA.",
+ "title": "Introduction"
+ },
+ "prohibited_conduct": {
+ "body_li_0_0": "Harasses or bullies others",
+ "body_li_0_1": "Impersonates others",
+ "body_li_0_2": "Is intended to intimidate or threaten others",
+ "body_li_0_3": "Is intended to promote or incite violence",
+ "title": "You also agree not to engage in any conduct that:"
+ },
+ "prohibited_content": {
+ "body_0_title": "You agree not to use our application to create, upload, post, send, or store any content that:",
+ "body_li_0_0": "Is illegal, infringing, or fraudulent",
+ "body_li_0_1": "Is pornographic, obscene, or offensive",
+ "body_li_0_2": "Is discriminatory or promotes hate speech",
+ "body_li_0_3": "Is harmful to minors",
+ "body_li_0_4": "Is intended to harass or bully others",
+ "body_li_0_5": "Is intended to impersonate others",
+ "title": "Prohibited Content and Conduct"
+ },
+ "title": "End User License Agreement"
+}
+\ No newline at end of file
diff --git a/locales/src/messages/en/units.json b/locales/src/messages/en/units.json
@@ -0,0 +1,31 @@
+{
+ "area": {
+ "ac": "Acre",
+ "ac_ab": "Ac.",
+ "ft2": "Square foot",
+ "ft2_ab": "ft²",
+ "ha": "Hectare",
+ "ha_ab": "Ha.",
+ "m2": "Square metre",
+ "m2_ab": "m²"
+ },
+ "length": {
+ "ft": "Foot",
+ "ft_ab": "Ft.",
+ "m": "Metre",
+ "m_ab": "M."
+ },
+ "mass": {
+ "unit": {
+ "g": "Gram",
+ "g_ab": "g.",
+ "g_pl": "Grams",
+ "kg": "Kilogram",
+ "kg_ab": "kg.",
+ "kg_pl": "Kilograms",
+ "lb": "Pound",
+ "lb_ab": "lb.",
+ "lb_pl": "Pounds"
+ }
+ }
+}
+\ No newline at end of file
diff --git a/locales/tsconfig.json b/locales/tsconfig.json
@@ -0,0 +1,29 @@
+{
+ "compilerOptions": {
+ "strict": true,
+ "target": "es2021",
+ "lib": [
+ "es2021",
+ "dom"
+ ],
+ "module": "ESNext",
+ "moduleResolution": "node",
+ "declaration": true,
+ "declarationMap": true,
+ "outDir": "./dist",
+ "esModuleInterop": true,
+ "skipLibCheck": true,
+ "baseUrl": ".",
+ "resolveJsonModule": true,
+ "paths": {
+ "$root": ["src/index.js"]
+ }
+ },
+ "include": [
+ "src"
+ ],
+ "exclude": [
+ "node_modules",
+ "dist"
+ ],
+}
+\ No newline at end of file
diff --git a/locales/tsup.config.ts b/locales/tsup.config.ts
@@ -0,0 +1,11 @@
+import { defineConfig } from "tsup";
+
+export default defineConfig({
+ entry: ['src/index.ts'],
+ format: ['esm', 'cjs'],
+ dts: true,
+ outDir: 'dist',
+ splitting: false,
+ clean: true,
+ sourcemap: true,
+});