# Splash screen

## Splash Screen API&#x20;

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&#x20;

* Username: adivinar-tec
* Password: Admin\@123
* Base URL: <https://dev.majarat.ae>

<figure><img src="https://3686328336-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd1Iq7THDAagTQzeC9rTN%2Fuploads%2FOQRbwflapO3W648opU7f%2Fimage.png?alt=media&#x26;token=16fb458d-1243-48d4-8628-f2246b249c6c" alt="" width="360"><figcaption><p><strong>Splash screen with animation</strong></p></figcaption></figure>

### &#x20;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.

```json
For english
{
    "key1": "Language",
    "key2": "Select your default language",
    "key3": "Enter your mobile",
    "key4": "Verify your mobile number",
    "key5": "SUBMIT",
    "key6": "VERIFY",
    "key7": "Verification",
    "key8": "Enter your OTP received in your mobile",
    "key9": "Didn't receive code?",
    "key10": "Resend a new code",
    "key11": "Verified successfully",
    "key12": "your mobile number has been verified"}
    
 For arab 
 {
    "key1": "لغة",
    "key2": "حدد لغتك الافتراضية",
    "key3": "أدخل هاتفك المحمول",
    "key4": "تحقق من رقم هاتفك المحمول",
    "key5": "يُقدِّم",
    "key6": "يؤكد",
    "key7": "تَحَقَّق",
    "key8": "أدخل كلمة المرور لمرة واحدة المستلمة في هاتفك المحمول",
    "key9": "لم تتلق رمز؟",
    "key10": "إعادة إرسال رمز جديد",
    "key11": "تم التحقق بنجاح",
    "key12": "تم التحقق من رقم هاتفك المحمول"
}
```

### 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.
