This script allows you to convert date languages without exsplicitly setting the language in sql server it can be used in views,storedprocedures and select statements
/**
examples
posible input values Months,Days,ShortMonths
Returns all values for the language selected
select * from dbo.FN_ConvertLanguageValues('Dutch','Months')
select * from dbo.FN_ConvertLanguageValues('Dutch','Days')
select * from dbo.FN_ConvertLanguageValues('Dutch','ShortMonths')
'Direct query example returns current month for current date
select item as dutchmonth from dbo.FN_ConvertLanguageValues('Dutch','months') where row = DATEPART(m, getdate())
'Select the dayname for the current day
select item as dutchday from dbo.FN_ConvertLanguageValues('Dutch','days') where row = DATEPART(weekday, getdate())
'Table Query Examples
select myfield,(select item as dutchmonth from dbo.FN_ConvertLanguageValues('Dutch','months') where row = DATEPART(m, mydatefield)) as dutchmonth from mytable
select myfield,(select item as dutchday from dbo.FN_ConvertLanguageValues('Dutch','days') where row = DATEPART(weekday, mydatefield)) as dutchday from mytable
Helper Functions
--Example select the day name for the given date
--select dbo.dayNames('Dutch',GetDATE()) as dayname
--Example Select the MonthName for the Given Date
--select dbo.monthNames('Dutch',GetDATE()) as monthname
-- additional example
Select dbo.daynames('dutch',GetDate()) + ' ' + convert(varchar,Datepart(day,getdate())) + ' ' + dbo.monthnames('dutch',getdate()) + ' ' + convert(varchar(4),year(getdate()))