translation Questions
8
Solved
I'm developing a website in PHP and I'd like to give the user to switch from German to English easily.
So, a translation politic must be considered:
Should I store the data and its translation in...
Zapata asked 26/2, 2010 at 19:51
2
Solved
I have languages for french and english. Fallback and standard is french (fr).
My folder structure:
This is the content of the login.php (english):
<?php
return [
'welcome' => 'Welcome'...
Yoho asked 20/10, 2016 at 11:45
5
I'm adding language translation support to my project. The code is on Python and has jinja2 in the html files, and Javascript.
I'm trying to use Babel to do the translation, but it doesn't recogni...
Martinson asked 21/8, 2012 at 0:28
8
Solved
When looking for a solution to translate text within R, I got a lot of pretty old answers, proposing to use the package translateR. The best answer I found is this one.
The answer is 6 years old an...
Admonish asked 14/9, 2022 at 8:43
2
Solved
How can I generate messages (manage.py makemessages) from 3rd party library which is located in virtualenv directory?
I tried simply add the messages to the .po file, but everytime I run makemessa...
Powerless asked 16/1, 2015 at 16:49
2
Solved
My android app currently contains 18 translations for 170 different strings ranging from 6/170 translated to 170/170 translated.
For a non-english speaking app users it makes no sense to tell that...
Uninhibited asked 14/3, 2019 at 14:34
8
Solved
I'm trying to translate a Django app. I created some strings with {% trans %} in my templates. However, when I execute the following command in my app folder, I receive an error message:
$ django-a...
Coruscation asked 24/7, 2014 at 14:53
4
I use ugettext_lazy as _ , and in a models file my string is represented in this way:
s = _("firstline"
"secondline"
"thirdline")
But after running makemessages I found that in the .po f...
Shangrila asked 13/2, 2017 at 11:49
3
Solved
I need to find the current month and print it. I have the following code:
this.currentDate=LocalDate.now();
this.month = this.currentDate.getMonth();
The problem is that the month is in English ...
Aspasia asked 14/8, 2018 at 14:25
4
I am trying to find best concept of translations for my react app.
I have a higher order component for translations and use it by:
export default translate('MyComponent')(MyComponent);
And insi...
Cabezon asked 13/6, 2017 at 10:26
6
Solved
Lets say in my lang/en/general.php there are multiple translation lines for example:
"token" => "This password reset token is invalid.",
"sent" => "Password reminder sent!",
"reset" => ...
Bagman asked 23/3, 2015 at 12:49
2
I have a problem with useI18n that I'm unable to solve. Whatever I do, I am unable to get i18n translation to work and in my console perpetually see this message:
Uncaught SyntaxError: Must be cal...
Horthy asked 16/6, 2022 at 21:6
4
I have an app that is available in two languages - English and Hebrew.
I added Hebrew strings using the Translation Editor and I am changing the Locale according to the user selection.
When chang...
Lindahl asked 9/5, 2016 at 16:17
2
Solved
I am using nuxt with vuetify and I defined all my validations rules (for text inputs) in a single file like this:
// @/plugins/form_validations.js
export default Object.freeze({
VALIDATIONS: {
...
Josephinajosephine asked 20/8, 2019 at 7:30
1
Like the subject says, I am searching for best practices for how to handle i18n and l10n in a microservice architecture. There doesn't seem to be a lot out there on this topic, but surely others
...
Trombley asked 4/12, 2019 at 12:49
3
Solved
I'm trying to figure out the best way to translate actual database values (textual strings, not date formats or anything complicated) when internationalizing my Django application. The most logical...
Jephum asked 7/1, 2010 at 9:42
4
Solved
I have been developing for some time in en-gb language code. Now arriving closer to the release date I was going to switch the default language to en-us, but whatever I do the initial request.LANGU...
Pollster asked 28/1, 2013 at 12:57
5
Solved
I'm using a class form in Symfony2 Beta3 as follows:
namespace Partners\FrontendBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilder;
class ConfigForm ext...
Sfax asked 31/5, 2011 at 13:3
7
Solved
How can I get the current language in Django?
Inferno asked 28/7, 2010 at 20:1
8
I have a page that Google Chrome insists on thinking is in French.
Here's a snapshot of it:
http://yootles.com/outbox/overcleverchrome.html
Note that I'm including a meta http-equiv tag to tell i...
Malcah asked 5/6, 2010 at 13:29
5
Solved
Let's say I have a User Entity :
$user = new User(007);
echo $user->getName(); // display Bond
echo $user->getGender(); // display "Male";
echo $user->getDesignation() // display "Monsieu...
Ashbaugh asked 23/11, 2011 at 14:53
4
I'm using Qt 4.5 to translate a .ts file to a .qm file.
But now I've lost the .ts file.
How can I convert it back - from .qm to .ts?
Cliffordclift asked 3/9, 2015 at 10:44
1
This is my django-project below to translate from English to French. *I use Django 4.2.1:
django-project
|-core
| |-settings.py
| └-urls.py
|-my_app1
| |-views.py
| └-urls.py
|-my_app2
└-lo...
Caltanissetta asked 22/6, 2023 at 0:41
5
Solved
I want to translate a django form. How do I translate the labels of the fields?
I tried field.label=ugettext_lazy(field.label), but the labels are not getting populated in django.po file
I may ha...
Garald asked 19/12, 2011 at 10:0
6
Solved
I've got an issue with translations not working on Django 1.6. I've added this to my settings.py:
LANGUAGE_CODE = 'en-us'
ugettext = lambda s: s
LANGUAGES = (
('en', ugettext('English')),
('de', ...
Bootle asked 9/12, 2013 at 9:55
1 Next >
© 2022 - 2025 — McMap. All rights reserved.