TYPO3 and tx_news, hide nontranslated news - localization

I have a site which is multilingual (dk, de and uk)
In my list of news i have some news that are only in the default language (DK).
They should not be shown in the English and German version of the site.
Shouldn't this work out-of-the-box?
I have this in my TypoScript template
config.sys_language_mode = content_fallback
config.sys_language_overlay = hideNonTranslated

Use
config.sys_language_mode = strict
http://docs.typo3.org/typo3cms/extensions/news/Main/KnownProblems/Index.html

Language behavior changed in every Typo3 version a lot. As the core does every query and language overylay handling please check latest stable version and / or file a bug in core issue tracker

Related

MVC CultureInfo language-code needed for Hmong

I am working on a MVC project that will have its pages in English, Spanish, and Hmong using CultureInfo. I am unsure what language code I should use for the Hmong translations. I haven't found anything related to it other than other than hmn(ISO 639-2 Code). Should I use this or something else?
You may find Hmong to be a few different culture codes. Our plant workers use a dashboard we wrote and their version of spoken Hmong most closely resembled vi-VN . So that is the culture code we use when our Hmong workers switch their displays to their translated language.

Allowing user to enter French,Spanish and Korean language in content of Umbraco input Control

We are using Umbraco web application in English language. We need to add
French,Spanish and Korean language in our application where we should be allow user to type and add content in French,Spanish and Korean language.
Question : How we can allow user to input content in French,Spanish and Korean language . Note* : Default language of system is English.
Please help me to get out of this.
Thanks in advance.
Currently Umbraco doesn't have built in language variants - so the classic way to do it is to create language specific "sites" as described here: https://our.umbraco.com/documentation/tutorials/multilanguage-setup/
A different solution could be to use the Vorto package. Vorto wraps itself around your existing datatypes, allowing you to put in an extra "layer" so every property can have different values/settings for each language in your site.
There's a link to it here - with instructions on how to get started using it:
https://our.umbraco.com/packages/backoffice-extensions/vorto/

Russian (Cyrillic) characters not displaying in Orchard 1.6

I am trying to setup the multilingual orchard website with MySQL and the localization module. I’ve found that I cannot create the localized pages in Russian as the characters display ??? in the title when I try to save.
How can I resolve that?
Thanks to Andrii the issue can be resolved by adding charset=utf8; at the end of MySql connection string. See the answer here.

How to change TinyMCE language in Umbraco

I'm using Umbraco 4.9. I've downloaded a language pack and installed it in my Umbraco's TinyMCE. I suppose there is a tag in tinyMceConfig.config file that defines the language for richtexts, but I can't find anything. Does anyone know about that?
UPDATE:
I tried:
<config key="language">en</config>
but even the default en language option makes richtext editor disapear.
The language of the WYSIWYG text editor is controlled by the user login.
Under the user select the language you would like to use for the backend of Umbraco.
Out of the box it supports:
Danish
German
English (uk)
Spanish
French
Italian
Korean
Dutch
Norwegian
Swedish (se)
Swedish
If the language you need is not listed there, you have a couple of options. The first option is to create a whole new translation of the Umbraco backend, this involves editing Umbraco translation files etc and and is reasonable sized task.
If you just want the TinyMCE editor translated you can hack the JS so that it uses your translation file instead of the default.
To do this you need to rename a couple of JS files and update one. Basically the principal is that you replace one of the existing languages i.e. en or fr with your own.
There are instructions on how to do this on the post on our.umbraco.org
I don't recommend this approach, if you are looking for new full translation of the backend then why not reach out on the our.umbraco.org forum and see if anyone has already done the translation you are looking for or would be willing to help.

MVC Validation: Same project, different languages: why?

When I start my MVC application and try to sumbit a form with an empty field than validation is fired and the following message appears (german):
Das Feld "Telefon" ist erforderlich.
If i do the same on my bosses computer, the message is
The Telefon field is required.
I checked if out windows settings for region and language are different, but they are the same? What else could be the reason?
EDIT
Solution is to install 'Microsoft .NET Framework 4 Extended DEU Language Pack' (or your perferred language) and to add the culture information in Views/web.config in the <system.web>-Part:
<globalization culture="de-DE" uiCulture="de-DE"/>
On your computer you probably installed the German localized version of the .NET Framework so all error messages are coming from the localized satellite assemblies. Phil Haack blogged about localizing validation messages.
In most browsers you can specify your preferred languages. These can be different from your windows settings.
Check the Accepted-language request header.

Resources