Splash screen
Includes translation API, Notification permission and app icon animation.
Splash Screen API
The Splash Screen is the initial screen that appears when users launch the e-commerce application. It serves as a visually engaging and informative entry point, designed to captivate users and set the tone for their app experience. The Splash Screen is a critical component of the app's onboarding process, providing an opportunity to showcase the app's branding, logo, and loading animations with notification permission
Postman user credentials
Username: adivinar-tec
Password: Admin@123
Base URL: https://dev.majarat.ae

Translation API
The Translation API enables the e-commerce application to provide multilingual support, allowing users to view content in their preferred language. This API serves as a powerful tool to enhance the app's global reach, ensuring that users from different language backgrounds can access content that is culturally relevant and easily understandable.
Endpoint
{{baseurl}}/api/v1/translation/en (For English){{baseurl}}/api/v1/translation/ar (For Arab)
Method
GET
Request Parameters
The Translation API requires the following request parameters:
source_language: The source language of the content to be translated. This parameter specifies the language in which the original content is written.target_language: The target language to which the content should be translated. This parameter indicates the language in which the content needs to be converted.content: The actual content that needs to be translated. This could be a text string, paragraph, or even an entire document.
Response Format
Upon a successful request, the API responds with a JSON object containing the translated content in the specified target language.
Features
Multilingual Support: The Translation API allows the app to offer content in multiple languages, accommodating users from diverse linguistic backgrounds.
Cultural Relevance: By translating content into the user's preferred language, the app ensures that the information is culturally relevant and resonates with the target audience.
User Experience: Providing content in users' native languages enhances the overall user experience, making the app more user-friendly and accessible.
Usage
Developers can utilize the Translation API to enable dynamic translation of content within the app. By sending a POST request to the API with the appropriate source and target language parameters, the app can fetch the translated content and display it to the user.
Last updated