I want to use this extension in Korean. My wiki is set in Korean, and LocalSettings.php is using UTF-8. Is there a way I can change this extension to Korean? If not, I want to know how I can translate it
Topic on Extension talk:SocialProfile
Appearance
Ideally, you should collaborate translating it on Translatewiki.net. They have a nice tool that helps translating groups of messages and makes it very convenient. As you can see in the commit history, every few days it gets updates from translations made in Translatewiki.net. Once translations get updated, you can download again the extension to get those translations, and other users would also benefit!
You can also translate strings locally on your wiki overriding system messages. See Help:System message.
Since this extension is split into several related extensions, each of them has their own translation group in translatewiki, keep it in mind when searching for messages.
For example, there's socialprofile userprofile, socialprofile userrelationship and others...
@멍한오리: Ciencia explained the issue pretty well above. I'd add that you should definitely join Translatewiki.net (TWN) and start contributing there; I cannot in good faith recommend maintaining a complete translation for something as big as SocialProfile on a wiki, because:
- it's just pointless,
- other Korean-speaking people won't be able to benefit from it (besides the users on your wiki, of course), and
- there's a chance the translations will become outdated and it won't be so easy to spot such things, but on TWN the system automatically marks them as outdated and even shows you what changed in the source text
I'm aware of at least one wiki that uses a forked version of SocialProfile with Korean UI translations — but unfortunately instead of following these best practises, they chose to hard-code in the Korean strings altogether. :-(
This TWN link should show you all the untranslated strings in SocialProfile, for each and every sub-component (e.g. UserProfile, UserRelationship, etc.). According to the per-language translation statistics for SocialProfile, of the known 635 i18n messages, only 35 are translated to Korean — that's only 5% of the total amount! (Some other social tools are, somewhat bizarrely, more translated into Korean; looking at the statistics for the entire social tools group, currently 890 messages are translated, so 1054 remain untranslated to Korean. I'm not sure offhand which extensions are the ones that support Korean better, but I do find it fascinating that SocialProfile isn't among the better-supported ones.) One thing to note is that the statistics are ever so slightly misleading, because they also include API i18n messages, but those are virtually never shown to the end-users, so they shouldn't be a priority in any case.
For example, the Finnish (fi) translation, which I maintain, has most if not all API i18n messages untranslated; this amounts to a total of over 100 untranslated strings across all social tools and a total completion rate of "only" 93%, but this is perfectly usable in practise.
I'm more than happy to help you out with getting started, so please let me know if you need any assistance!