Click here to Skip to main content
15,897,704 members
Home / Discussions / C#
   

C#

 
GeneralRe: Unhandle System.AccessViolationException from FFMediaToolkit Pin
huycaothu21-Mar-21 15:51
huycaothu21-Mar-21 15:51 
GeneralRe: Unhandle System.AccessViolationException from FFMediaToolkit Pin
Richard MacCutchan21-Mar-21 22:44
mveRichard MacCutchan21-Mar-21 22:44 
GeneralRe: Unhandle System.AccessViolationException from FFMediaToolkit Pin
huycaothu19-Mar-21 23:56
huycaothu19-Mar-21 23:56 
GeneralRe: Unhandle System.AccessViolationException from FFMediaToolkit Pin
Dave Kreskowiak20-Mar-21 5:02
mveDave Kreskowiak20-Mar-21 5:02 
QuestionCS1929 Pin
Josh Vanbaalen17-Mar-21 10:00
Josh Vanbaalen17-Mar-21 10:00 
AnswerRe: CS1929 Pin
OriginalGriff17-Mar-21 11:39
mveOriginalGriff17-Mar-21 11:39 
GeneralRe: CS1929 Pin
Josh Vanbaalen17-Mar-21 13:40
Josh Vanbaalen17-Mar-21 13:40 
GeneralRe: CS1929 Pin
OriginalGriff17-Mar-21 21:02
mveOriginalGriff17-Mar-21 21:02 
QuestionReading USB Tilt Pin
Luis M. Rojas16-Mar-21 2:48
Luis M. Rojas16-Mar-21 2:48 
AnswerRe: Reading USB Tilt Pin
Pete O'Hanlon16-Mar-21 2:54
mvePete O'Hanlon16-Mar-21 2:54 
GeneralRe: Reading USB Tilt Pin
Luis M. Rojas16-Mar-21 4:06
Luis M. Rojas16-Mar-21 4:06 
AnswerRe: Reading USB Tilt Pin
OriginalGriff16-Mar-21 3:16
mveOriginalGriff16-Mar-21 3:16 
AnswerRe: Reading USB Tilt Pin
Dave Kreskowiak16-Mar-21 3:46
mveDave Kreskowiak16-Mar-21 3:46 
QuestionIs there a way to open firefox driver in mobile emulation mode in selenium c# MSTest Pin
Member 1485915115-Mar-21 19:55
Member 1485915115-Mar-21 19:55 
AnswerRe: Is there a way to open firefox driver in mobile emulation mode in selenium c# MSTest Pin
Richard Deeming15-Mar-21 22:37
mveRichard Deeming15-Mar-21 22:37 
QuestionIIS application pool Hangs for Webservice developed in C# Pin
Member 1510093115-Mar-21 10:36
Member 1510093115-Mar-21 10:36 
QuestionExpand/Collapse TreeView Nodes on Ctrl+LeftMouse in WPF Pin
ernie_hudds12-Mar-21 2:55
ernie_hudds12-Mar-21 2:55 
AnswerRe: Expand/Collapse TreeView Nodes on Ctrl+LeftMouse in WPF Pin
OriginalGriff12-Mar-21 4:17
mveOriginalGriff12-Mar-21 4:17 
Question.NET native vs. custom localization Pin
Niemand2510-Mar-21 23:18
professionalNiemand2510-Mar-21 23:18 
AnswerRe: .NET native vs. custom localization Pin
Gerry Schmitz11-Mar-21 7:20
mveGerry Schmitz11-Mar-21 7:20 
AnswerRe: .NET native vs. custom localization Pin
lmoelleb15-Mar-21 22:40
lmoelleb15-Mar-21 22:40 
DI injecting is not that hard to build on top of for example resx - but indeed - is it worth it? There is no single answer to that. I would for example be tempted to use it for supporting pseudo-translation tests directly in the app without having to go through the localization tools to get the pseudo-translated resources for a quick I18N test.

If I have translations with the UI or not depends on a lot of things - for example, if it is a WinForm application (not that I do those anymore) then the size of the controls is typically in the resource file along with the translation - typically making it more of a view thing than entity/business logic. Even in WPF/HTML the layout can effect the chosen translation (i.e. a less accurate but more concise translation being chosen for a label). In reality I think you always end up with plenty of strings throughout the layers.

I understand both the translation and programming workflows, which makes it a bit easier for me to know when to customize and when to stick to standards. If you do not understand the translation workflow, stick to standards. Your little "optimization" could end up being rather problematic. This is less of a problem if you do not use professional translators with access to proper tools though (they won't know when you are wasting their time) Smile | :)
QuestionContinue program after encountering error Pin
Member 1447460710-Mar-21 10:05
Member 1447460710-Mar-21 10:05 
AnswerRe: Continue program after encountering error Pin
Dave Kreskowiak10-Mar-21 10:14
mveDave Kreskowiak10-Mar-21 10:14 
GeneralRe: Continue program after encountering error Pin
Member 1447460710-Mar-21 10:35
Member 1447460710-Mar-21 10:35 
GeneralRe: Continue program after encountering error Pin
Dave Kreskowiak10-Mar-21 11:05
mveDave Kreskowiak10-Mar-21 11:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.