Questions tagged [localization]
Localization is the process of adapting a product or service to a particular language, culture, and desired local "look-and-feel".
localization
13,892
questions
0
votes
1
answer
27
views
Hindi text does not work with TMPro even when using the Hindi font
I am working on this issue from quite a while now where I am trying to display a Hindi text using a Font specifically made for it.
The problem is that copy-pasting Hindi from Google Translator to the ...
0
votes
0
answers
15
views
Generic enum with localized string in SwiftUI [duplicate]
I'd like to have a function that can take both enum A and enum B and display the raw values in a menu. so i use type T to make the function generic, and T follows the localized protocol i defined so ...
0
votes
1
answer
20
views
Flutter app - localizing strings in info.plist
I'm localizing a flutter app. In Android all works fine, and iOS the strings are translated as expected from the .arb files. However, I don't see how to translate the strings that are in info.plist - ...
0
votes
0
answers
13
views
Is there way to try a series of translation keys in Vue I18n?
How can I simplify this code?
<script setup>
import { useI18n } from 'vue-i18n'
const { t, te } = useI18n()
const message = te('key1') ? t('key1') : ( te('key2') ? t('key2') : t('key3') )
</...
0
votes
1
answer
24
views
Formatted strings with arguments in Xcode 15 String Catalogs
How can I use a formatted string with arguments in Xcode 15's string catalogs?
For example, if my string is showing a percentage "\() %%" (example rendering: "25 %") and I've given ...
0
votes
0
answers
8
views
NestJS - Check whether language is RTL or LTR using nestjs-i18
I am using i18 with NestJS and the localization package is nestjs-i18n. I need to check whether the language is RTL or LTR. Is there a method in the given package? My use case is sending localized ...
-1
votes
0
answers
45
views
How to localize credits.rtf in Xcode
I want to localize the content of the credit.rtf file in Xcode, that is used in the about box of macOS applications. I am using string catalog files for the localization of my Swift application.
-1
votes
0
answers
18
views
2sxc get string resource from another language
In lastest 2sxc, In razor template, how can I get resources from a specified language? For example: The current website is still in en-US language, but I want to get the value of a label of another ...
0
votes
0
answers
15
views
Sanity internationalization with sanity-plugin-internationalized-array
I'm using sanity as a CMS for my project with sanity-plugin-internationalized-array for the internationalization feature .
This is my config :
// sanity.config.ts
export default defineConfig({
...
0
votes
0
answers
43
views
Error in the controllers of my localized routes because it expects $locale as first variable in every functions
I am adding localization in my Laravel app.
Let's say I have the routes slots and slots/{id}. My problem is, when I try to go to slots/{id} page, the controller that handles this route expects $locale ...
0
votes
0
answers
23
views
Flutter, I added Flutter Intl, instance != null "No instance of S present in the widget
Flutter, I added Flutter Intl, did everything according to the instructions, but when starting there is always a red screen and an Assertion failed error:
file:/MyApp/lib/generated/l10n.dart:44:12
...
-1
votes
0
answers
20
views
How can I retrieve a list in JavaScript of all possible month values of a specific Locale?
I'm working on a custom date-time component in Svelte 5 and I just found out that even if you set the options of the locale like so:
{
year: 'numeric',
month: '2-digit',
day: '2-digit',
...
0
votes
1
answer
39
views
Next.js internationalisation: all the routes throws "404 not found" for only one locale while I can access the other locale's routes
I'm currently figuring out how the Next.js localisation and internationalisation work.
beside the root page.jsx (home page), I have two folders: test and tester -sorry for the confusion- and two ...
0
votes
0
answers
26
views
Is there a way to localize Swagger api endpoints in Nestjs?
I have a simple Nest JS application. I have several endpoints, and I have documented them using Swagger. Below is a code snippet:
@Get()
@ApiQuery({ name: 'search', required: false, description: '...
0
votes
0
answers
27
views
Azure AD B2C localization string IDs for APIs
I'm working on localization in Azure AD B2C custom workflows and I'm struggling to identify the stringIDs to use for customizing messages displayed to users.
In general I would like to find a way to ...