A localizable message is one from the resource bundles, so the method you are using is expecting a
resourceName, and the error indicates that it cannot find your resource name in the Tridion bundles (which makes sense).
If you wish to use your own resource bundle, then you have to make sure that Tridion knows about this, and you can do that with one of the overrides of the
params Object parameters
Where the parameters have the following details:
- Specifies a
ResourceManager that will be used to lookup the string resource.
- The string resource name.
- The parameter values can be any object (the object's
ToString() implementation will be used to format the message). A parameter value may also be a
LocalizableMessage instance, in which case it will be localized in the appropriate culture.
I was looking for an example of the methods, take a look at https://github.com/bkoopman/sdl-tridion-world/blob/master/Example%20Event%20System/Example%20Event%20System/EventHandler.cs#L169
Properties.Resources.ResourceManager in there points to the Resource bundle added to the solution which you can find in the
Properties folder: https://github.com/bkoopman/sdl-tridion-world/blob/master/Example%20Event%20System/Example%20Event%20System/Properties/Resources.resx
And you can then add localized resx files in the same location and make them Embedded Resources too.