✨ feat: Add language support and descriptions in product localization files
- Added language, languageDescription, and languagePlaceholder fields to product.json for multiple locales (ja-JP, ko-KR, no-NO, pl-PL, pt-BR, ro-RO, ru-RU, th-TH, tr-TR, uk-UA, vi-VN, zh-HK). - Removed group-related fields from product.json for cleaner structure. - Updated API calls in user services to include language parameter for subscription retrieval. - Enhanced type definitions for subscription requests to accommodate language parameter.
This commit is contained in:
Vendored
+8
@@ -290,6 +290,14 @@ declare namespace API {
|
||||
total: number;
|
||||
};
|
||||
|
||||
type GetSubscriptionParams = {
|
||||
language: string;
|
||||
};
|
||||
|
||||
type GetSubscriptionRequest = {
|
||||
language: string;
|
||||
};
|
||||
|
||||
type GetSubscriptionResponse = {
|
||||
list: Subscribe[];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user