It was recently brought to my attention that for our clients, SalesForce translates profile names (such as "System Administrator") which causes errors when the Apex code attempts to check profile names in conditional code.
I should have thought translation should only have effected the presentation layer and Apex developers would need to go out of their way to consider it. But I'm informed this is not the case.
Is there a way I can tell my Apex code that I am only considered with the value stored in a field (e.g. profile.name) and don't care at all whether it has been translated or what it may have been translated to?