I don't think you can switch enum values using Castle.Windsor, but you could try the following
// declare the enum
public enum StopCode
{
StartProd,
BeaOmstilling,
FlexOmstilling,
PlaStop,
}
// and declare an interface that translates this enum to values
public interface StopCodeConverter
{
int convertFrom(StopCode code);
}
// then your components
public class EnglishStopCodeConverter
{
public int convertFrom(StopCode code) { /* do your translation */ return 0;}
}
public class SpanishStopCodeConverter
{
public int convertFrom(StopCode code) { /* hace su translaciòn */ return 0;}
}
Resolve the correct implementation when needed and you have your localized enum values.
EDIT: even with the enums in different namespaces i don't think it is a good idea to change the values in the enum, since the different types will cause your code to be split along these types. You would also be forced to resolve the specific type you're interested into