Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Language-dependent Prefix
#1
It is a great benefit to create language-dependent prefixes for use in a multilingual forum environment.

Realisation seems kinda tricky as the standard language packs should better not be touched for prefixes.
So another suggestion needs to think up for such a feature...
- Maybe using a reserved prefix.lang. This prefix.lang may contain some example prefixes and can be filled up with own ones.
- Make the table threadprefixes able to handle multiple prefixes with different translations, e.g. differing by language ID.

[ExiTuS]
New Forum / MyBB 1.8.26 + innovative full-responsive Theme
Live-Escape-Game-Forum
Reply
#2
Not a bad idea.
Reply
#3
I like this idea, to use $lang-> variables in prefix labels. Certainly makes sense to me.
Reply
#4
Sorry, I don't like thread bumping at all,
but i like to remind of potential great features to enhance and improve MyBB.

In my initial post I already mentioned some ideas as well as kawaii did, so hopefully some community members will also contribute ideas for a multilingual use of prefixes.

[ExiTuS]
New Forum / MyBB 1.8.26 + innovative full-responsive Theme
Live-Escape-Game-Forum
Reply
#5
Implementing this feature is not a big deal.
We need to consider and handle potential breakage of existing prefix system as well, along with the existing plugins related to thread prefix. Thats the point to discuss.
Reply
#6
I actually really like this idea as well. I wonder if this is best for 1.9 though due to the breaking features and for us to consider how to support current methods to not completely break plugins?
-Ben

Please do not PM me for support. I am looking to be hired for paid services.

You can view my paid services here.
Reply
#7
I actually coded a plugin for this years ago. It is kinda easy frankly, simple parse prefix names from the prefix cache at global_start to replace strings like {prefix:key} for $lang->prefix_key

A helper function to do this could be useful too (in case the cache is rebuild, for plugins, etc)
Reply
#8
Hi,

Your feature suggestion has been accepted as a planned feature to be implemented in MyBB. Thanks for your contribution!

https://github.com/mybb/mybb/issues/4282
Reply
#9
(2021-02-25, 09:13 PM)Omar G. Wrote: I actually coded a plugin for this years ago. It is kinda easy frankly, simple parse prefix names from the prefix cache at global_start to replace strings like {prefix:key} for $lang->prefix_key

A helper function to do this could be useful too (in case the cache is rebuild, for plugins, etc)

MyBB currently uses the <lang:...> format (https://github.com/mybb/mybb/blob/mybb_1...#L220-L230) for report reasons and template groups.
devilshakerz.com/pgp (DF3A 34D9 A627 42E5 BC6A 6750 1F2F B8AA 28FF E1BC) ▪ keybase.io/devilshakerz
Reply
#10
Yes, anyone working on this should make it consistent with current approaches.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)