April 21, 2020 at 21:19 in reply to: Displaying Freshness time with different languages #891
I have done some extra investigating, and this is not going into the theme. Next major GD bbPress Toolbox Pro 5.9 (scheduled for next week) will include tweak for this. There is a centralized function in bbPress that can be filtered to change the way freshness is displayed.April 21, 2020 at 11:07 in reply to: Displaying Freshness time with different languages #889
I have still not done this. GD Quantum Theme is very stable right now, so I was not adding updates recently. But, I plan minor update for tomorrow, and I will try to include this too. If not tomorrow, I will have another update next week.
MilanDecember 6, 2019 at 10:47 in reply to: Displaying Freshness time with different languages #689
This will definitely require new function. And, you are right, saying ’12 days’ or ‘2 weeks’ is more natural than saying ‘1 week, 5 days’, at least in my native language (Serbian), so all these freshness functions are made with English in mind and just left as is for all other languages.
I will add the options for this into my GD Quantum Theme Pro for bbPress (full templates replacement) in next 2.1 version soon. It already has option to switch between freshness and actual date, and I will include some extra tweaks to the calculation too. Adding this to Default bbPress templates would require templates overrides in theme to use different functions, and right now there is no way to do that via plugin.
MilanDecember 5, 2019 at 09:06 in reply to: Displaying Freshness time with different languages #687
This can’t be solved through plugin only, bbPress templates need to be updated or overriden, and that can be done through active theme, so it is not simple or straitforward solution. Can you give me examples of how the strings look now and how would you prefer to have them to fit the japanase language more (in english if possible, so I understand the difference)?
MilanDecember 4, 2019 at 10:13 in reply to: Displaying Freshness time with different languages #685
This is a big problem in both WordPress and bbPress, and right now, there is no good solution. The way it is setup, works for most languages, and I have not seen anyone proposing some way to change it so it makes sense for japanese and other langauges where this poses a big issue.
The only way I see is to write replacement functions, and make changes to templates to use replacement function instead of the default one. This new function can format things differently, in accordance to the specific language.