FAQ Database Discussion Community


ASP.NET MVC: Language Globalization - Required Error Message is Always in English

asp.net-mvc,razor,resources,globalization,multilanguage
I am learning how to do globalization, and everything is working well, except for one thing. I have some required fields, and their error message is always in English. Everything else will swap languages, and maintain the correct language after a post-back, but that dang error message is English no...

Yoast SEO multilanguage site

wordpress,wordpress-plugin,seo,multilanguage
I have the following issue. I'm building a website that have 4 languages. I've installed BWS multilanguage plugin to do the different language version. With this plugin I can only change the post language but the SEO meta are ever the same. How can I have different metas for each...

Priority language in multi language website

asp.net,resources,default,multilanguage,hindi
I'm following this guide to create a multi language page : http://www.codeproject.com/Articles/334820/Using-Globalization-and-Localization-in-ASP-NET But a problem is : I want my website default language is Hindi. But the browser often set English is default language. That cause when I load my site, the language on it is English, not Hindi (I...

Multilanguage Website Php

php,session,multilanguage,lang
When I go from default language to other language everything works okay but, them when I try to go to different page on chosen language (example. from home to contact) it brings me back to default language. I guess that it's got something to do with sessions? session_start(); $available_langs =...

Joomla, Falang integrate component… Fatal error: Call to a member function getTable() on null

php,xml,joomla,components,multilanguage
Hello I am having some issues for integrate a custom component of joomla in Falang for multilanguage website Debugging I got null: Fatal error: Call to a member function getTable() on null object(ContentObject)[183] public '_contentElement' => null My XML for integrate my component looks as: <?xml version="1.0"?> <falang type="contentelement"> <name>Members</name>...

Laravel frontend and backend with diferent multilanguage

laravel,multilanguage,setlocale
In Laravel at the same time i need have different language/locale in site frontend and backend(administration). Frontend need 4 languages(en,de,fr,it), backend need 3 languages(en,lt,es). Example: In browser i have two open tabs - 1 tab frontend (lang: de), 2 tab backend (lang: en). How to do it ? with setLocale?...

How to add variable in error message (php) multilanguage?

php,multilanguage
Need error message in two languages, and have some trouble with single quotes... This is how it looks like: else if(trim($FullName) == '') $error = '<div class="errormsg">Please enter your Full Name!</div>'; } And how when I put variable else if(trim($FullName) == '') $error = '<div class="errormsg"><?php echo $lang['error']; ?></div>'; }...

How to translate routes in Laravel?

php,laravel-4,routes,multilanguage
Based on this question I'm trying to translate routes in Laravel 4.2 in english and spanish. This is my app/routes.php code: <?php /*Set up locale and locale_prefix if other language is selected*/ if (in_array(Request::segment(1), Config::get('app.web_config.alt_langs'))) { App::setLocale(Request::segment(1)); Config::set('app.web_config.locale_prefix', Request::segment(1)); } foreach(Lang::get('routes') as $k => $v) { Route::pattern($k, $v); } Route::group(array('prefix'...

Set the selected language in an installer as the default language of the application

.net,localization,installation,wix,multilanguage
First post Here. I am making a WPF application, and are currently using WIX to create installers in Visual Studio. This works great, but now the client wants to have multilanguage application and installation. We have implemented localization in the application, so that is ok: the user can select language...

Problems with multi-language site using Umbraco

href,multilanguage,umbraco7
I have set up a multi language site with Umbraco 7 based on this article:https://our.umbraco.org/Documentation/Using-Umbraco/Multilanguage-Setup/ I have managed to get the general layout and first level working but am having problems with the internal links. For example: <ul> <li><a href="/">@umbraco.library.GetDictionaryItem("Home")</a></li> <li><a href="/contact-us">Contact Us</a></li> <li><a...

How to use DbMessageSource in yii2

internationalization,yii2,multilanguage
i am using yii2 advanced template.and i dont understand how to use DbMessageSource.i read the guide and i created two tables source_message and message and i wrote in my common/config/main.php file this code '*'=> [ 'class' => 'yii\i18n\DbMessageSource', 'sourceMessageTable'=>'{{%source_message}}', 'messageTable'=>'{{%message}}', 'enableCaching' => true, 'cachingDuration' => 3600 ], and what i...

Visual Studio C# Updating Localized Languages resx

c#,localization,multilanguage,resx
I have multi Language Application, first it was made in English only, than one time i added support for German and Russian version and send resx files for translation to mates. But while they do translation, i added few more checkboxes in GUI and now when i copy their files...

Multi language in FuelCMS

php,codeigniter,multilanguage,fuelcms
I'm trying to make a multilanguage site in codeigniter with fuelCMS. I have figured out some things: I have added the multilanguage option in MY_fuel.php $config['language_mode'] = 'segment'; $config['settings']['languages'] = array( 'type' => 'keyval', 'fields' => array( 'key' => array('ignore_representative' => TRUE), 'label' => array('ignore_representative' => TRUE), ), 'class' =>...

Android - Support Multilanguage app in a ViewPager

android,android-viewpager,locale,multilanguage,screen-rotation
I have a ViewPager with FragmentPagerAdapter and five tabs that is called from my MainActivity. I want to change dynamically the language of my App. To do this, i saved my language preference in my onSavedInstanceState like this: @Override protected void onSaveInstanceState(Bundle outState) { super.onSaveInstanceState(outState); SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getApplicationContext()); String...