Questions tagged [language-switching]

51 questions
21
votes
6 answers

Multi-lingual web application - how do I detect the user's language in ASP.NET?

I'm building an ASP.NET web application, and all of my strings are stored in a resource file. I'd like to add a second language to my application, and ideally, I'd like to auto-detect the user's browser language (or windows language) and default to…
SqlRyan
  • 33,116
  • 33
  • 114
  • 199
16
votes
2 answers

How to switch languages with the i18next plugin?

I am using Backbone.js in my application and the i18next plugin for my language switch function on my application. When I pass a value to the lng option in the init function call, then it translates my page correctly. Now I want to do this…
harsh
  • 175
  • 1
  • 1
  • 8
7
votes
3 answers

How to display language switcher as dropdown in Polylang?

I don't have display as dropdown in Appereance -> Menu -> Language switcher. How can i solve it? Here is an image Any help will be appreciated...
Steve
  • 93
  • 1
  • 1
  • 6
7
votes
14 answers

What are some common Java pitfalls/gotchas for C++ programmer?

As the question says, what are some common/major issues that C++ programmers face when switching to Java? I am looking for some broad topic names or examples and day to day adjustments that engineers had to make. I can then go and do an in-depth…
omermuhammed
  • 7,365
  • 4
  • 27
  • 40
5
votes
5 answers

Is it worth to switch from PHP/MySQL to .NET at this stage?

I have 7 years of experience working on PHP/MySQL. From few days I am in a dilemma because not able to see many opportunities in the MNC’s or in banking domain for PHP. The question comes in the mind is “is it worth to switch from PHP/MySQL to .NET…
iprashant
  • 71
  • 5
5
votes
6 answers

Learning C# as a VB.NET programmer

I am looking to switch to C#. I come from a C / C++ background but C# is a little different for me. I am switching mainly because of Silverlight and MVVM; all examples are in C#. Any information is in C# and I am confused when I read through it…
Rico
  • 1,258
  • 4
  • 17
  • 35
4
votes
2 answers

Polylang language switcher - show only language codes

I created a menu inside a theme I'm creating and have added a language switcher that comes with Polylang. On the fronted the switcher shows up as it should, but it shows the full name of the language (eg. English, Deutsch,...). Instead of full…
dodo254
  • 519
  • 2
  • 7
  • 16
4
votes
2 answers

How to list/select the installed languages on Android?

I want to make a small app that, with one or two clicks, will switch the system language between two, three or more prefered languages, selected before-hand from the "official" language list, i.e. the one that appears in Quick settings > Settings >…
Rodrigo
  • 4,706
  • 6
  • 51
  • 94
3
votes
2 answers

Html two language option with button (without having to redirect to different page )

I'm trying to make second language option to the website. Here are the details for the project : 1) I'm not trying to use Google translator system or any other auto translator service to change the entire website language. 2) I only trying to…
dubooduboo
  • 233
  • 2
  • 3
  • 7
3
votes
1 answer

How to change display name of custom keys in mottie virtual keyboard

I'm using mottie virtual keyboard and it's working well. I created a custom button for language switcher between Arabic and English language, by default it's showing English as a default language. When this button is clicked it's switching language…
Ahmed
  • 558
  • 1
  • 4
  • 22
3
votes
1 answer

Switch language in MasterPage C#.NET

I need to switch language in my masterpage file. the masterpage file contains the menue and there I also need to switch my language. Is there a workaround how I can also use Multi Language Support in the Master Page? I have build the language…
Hack4Life
  • 563
  • 1
  • 11
  • 34
3
votes
3 answers

A language switcher in Symfony 2.4

I have an object Language, and I can add, delete and update languages from the admin page. What I want to do, is to add a language switcher, I put this html/twig code: {% for language in languages %}
  • SmootQ
    • 2,096
    • 7
    • 33
    • 58
  • 2
    votes
    0 answers

    Yii2 multilingual slug and language switcher that will "respect" translated slug's

    The problem is - I can't figure out how to switch to translated slug: I've implemented multilingual slugs using lav45/yii2-translated-behavior. Database is quite simple: Portfolio model: id | created_at | is_active PortfolioLang model: portfolio_id…
    2
    votes
    3 answers

    drupal language switcher unaware of the aliases? switches to node/XX/ instead of LANG/text

    I have a big problem with the language switcher, I have a multi language site that has every article in english and spanish , spanish being the default so if one article is named : domain.com/mi-articulo then the english one will be…
    1
    2 3 4