Questions tagged [lang]
Any HTML element may have a lang attribute with a value from the IETF's "BCP 47" list of language codes. This tag is for questions about the attribute's usage; problems with specific browsers should add the relevant tag as well.
lang
395
questions
0
votes
0
answers
3
views
typo3 9.5, news 8.6.0, display newslist of second language additionally at the page of default language
I have got a newsletter page with a special configuration, where both newslists of default and second language should display after another. For this, I tried with marks respectively subparts, in ...
-1
votes
1
answer
24
views
Does anyone know of a look-up table or mapping from language code to the CSS style "list-style-type"?
The CSS property list-style-type lets you pick the style of the letter or number that goes in front of a list item, like "A,B,C" or "ii,iii,iv". Some list-style-types are "...
0
votes
0
answers
53
views
Flex and bison in c++, when compiling, it gives me an error that there are too many arguments to the function 'int yylex()'
lexer
%{
#include "parser.tab.h"
enum {
STRING = yy::parser::token::STR
};
extern int yylval;
%}
%option noyywrap c++ debug
WORD "\""(\\.|\\...
0
votes
1
answer
98
views
How to set correct html property "lang" for multilingual site on Angular with Transloco?
I made multilingual web site (3 languages) on Angular using Transloco. Means, I don't have different page versions or sub domain for every language, I just have all text content in Transloco json ...
1
vote
1
answer
495
views
Is there a way to use not-found.tsx inside of [lang] folder in Next.js 14?
I have a problem with Next.js 14 project, which uses app router. I use [lang] folder to localize my app. So, I have all my pages, including page.tsx and layout.tsx inside of [lang] folder. This way, I ...
0
votes
1
answer
361
views
Filament translation stoped working after Laravel translations was implemented
I am building a laravel project with filament.
Everything worked normally, but after working on translations in Laravel, the Fillament translations stopped working.
Has anyone ever experienced this?
I ...
0
votes
1
answer
434
views
how to identify a lang attribute on a HTML in vue file without using vue-i18n
i'm new to vue and i got this task to solve.
1.- I display some dummy data from index.html on my App.vue file
2.- The next step is to identify the language of the index.html without using vue-i18n
3.- ...
0
votes
1
answer
150
views
What is the right lang attribute to write in the html tag?
I have a site with this code:
<!doctype html>
<html lang="es_ES" prefix="og: https://ogp.me/ns#" class="no-js">
I thought that es_ES is the lang attribute ...
0
votes
1
answer
27
views
Trying to wrap my head around this multiple html select that need to run the same js code
I've been trying for hours to get this working, but I'm simply missing something simple (I'm not a programmer).
I have this code I've picked and mashed up from various sites including this one:
<...
0
votes
1
answer
647
views
How to use Nextjs internationalization with a default lang?
It's two days I'm reading the Nextjs internationalization doc
I want to use two langs: en, fa. I can switch between them as well, and the URLs would look like this:
https://example.com/en
https://...
0
votes
1
answer
68
views
How do you make a language selector and dark mode work together?
I have written the below script that toggles between two languages and also to make the background change to dark mode, but I am having trouble making the two stay when either one is selected.
So when ...
3
votes
1
answer
573
views
NextJS: Override html lang
So I've recently migrated a website from React to NextJs and the website is active in Sweden and Norway with the URLs; domain.com/se and domain.com/no
When we migrated the website we thought it was a ...
1
vote
0
answers
137
views
Filtering the text in SPARQL query based on the language using owlready2
I have an ontology in an 'owl' file (quran_data_full.owl) and I saved it in a folder in my google drive (Quran Corpus). To perform some queries in this ontology, first I tried the query on Apache Jena ...
0
votes
2
answers
11k
views
Cannot deserialize value of type `java.lang.Long` from Object value (token `JsonToken.START_OBJECT`)
Getting the following error while hitting the POST API call via postman for the following code.
Requirement : Place an order given the list of <component_id>, and . Consider that an order only ...
0
votes
0
answers
209
views
Qt/Qml VirtualKeyboard, switching language by physical keyboard shortcut
in my application i using QtVirtualKeyboard and i have a problem:
When using the virtual keyboard, I cannot use the system keyboard shortcut to switch layouts.
The application will be used on touch ...