I'm using the jQuery
plugin ScEditor and I noticed when you use the quote
tag such as:
[quote=username]some text[/quote]
That it will create a blockquote
with a cite
within it, where the cite
will just contain the username.
However I was wanting to extend this so it would be like: <cite>username said:</cite>
; sure, this is easy enough as I can just replace the default implementation with a new custom bbcode with the same name so as to override the default one, however I need to support internationalization
and I'm not sure how to write the code so the word said will be translated.
I understand I would need to use the _() function, but just not sure how to correctly call it within a new custom bbcode object.
Does anyone know how this can be done?