What Are Dictionary Keys?
Dictionary keys are identifiers that map to specific values in a database or code structure. They act as labels for information or actions, enabling platforms to function smoothly. For example, a key like login
may map to the text "Log in to your account" displayed on a website or app. In the case of Eshop platforms, these keys are translated into 7 languages (English, Spanish, Italian, French, Russian, Turkmen, and another). This multilingual approach ensures a seamless user experience across diverse regions and languages
Key Categories and Their Functions
User Accounts and Authentication
These keys help manage user registration, login, and account settings.
accountDetails
: Refers to user-specific information, like email or preferences.createAccount
: Often used for "Sign Up" options.login
: Directs users to the login functionality.loginToYourAccount
: Commonly maps to the message "Login to your account."
Product and Catalog Management
These keys define product attributes and help structure catalogs or collections.
products
: General reference to items available in the store.catalogue
: Organizes and displays available items.categories
: Groups products into specific types, e.g., "Books" or "Clothing."styles
: Defines aesthetic attributes of products, like "Dub" or "Dancehall."genres
: Used for classification like "Electronic".
Legal
These keys enable purchasing, payment, and shipping functionalities.
paymentMethods
: Lists supported payment types like "Credit Card" or "PayPal."voucher
: Relates to promotional codes or discounts.shippingPolicies
: Details shipping rules and costs.deliveryOptions
: Refers to the available delivery methods.privacyPolicy
: Links to details on data usage and protection.termsAndConditions
: Outlines user and platform obligations.informationWeCollect
: Specifies data collected from users.
Customer Interaction and Support
Keys in this category ensure smooth communication with customers.
contactUs
: Provides access to contact details or forms.followUs
: Points to social media links.subscribe
: Used for newsletter or subscription options.
Content and Navigation
These keys enhance website or app usability.
home
: Maps to the homepage.browse
: Often linked to the browsing functionality.seeMore
: Expands content sections, like "See more products."shopCollection
: Highlights specific collections or curated items.
General and Miscellaneous Keys
These keys support overall platform functionality and additional features.
available
: Indicates availability status, e.g., "In Stock."notAvailable
: Denotes items currently unavailable.backInStock
: Refers to notifications for restocked items.details
: Links to more specific information about an item.