How can I get the Sql language name from .Net culture

Hi, I am using full-text SQL server search. when I use the FreeText predicate, it needs a language as a parameter, but the sql parameter name is different from the .net culture names. So my question is: how can I get the name of the Sql language from .Net culture.

+4
source share
1 answer

The LCID in the SYS.SYSLANGUAGES view of SQL Server is the same Windows language identifier that the CultureInfo.LCID property returns in .NET. This LCID can be used as language_term in FREETEXT .

+2
source

All Articles