Development log
変更ログ

Latest updates Past updates Issue tracker

Development 8/9

Translate vkgy

It is now possible to help translate the UI of vkgy into other languages. This feature is in alpha mode, so it's currently limited to VIP users.

  • To change the language in which you browse vkgy, use the new dropdown at the top of the page. (The old toggle between English and Japanese has been preserved for non-VIP members, so you'll still see that one if you're signed out.)

  • To propose translations in your language, or to vote on existing translations, visit the translations section (or open the language dropdown at the top of the page and click translate).

  • This highest voted translations will be automatically accepted and appear on the site, while any translation with negative votes will be rejected.

  • The list of languages is not finalized—feel free to give feedback about this. I'm not hoping to have every language possible, but rather a handful of languages that represent the vast majority of vkgy's userbase.


All changes

  1. Made basic UI and database setup for allowing UI translations on vkgy.
  2. Worked on voting for translations.
  3. Continued work on translations.
  4. Finished fixing translation vote script, made first draft at function to generate file with translations, and first draft at function to access translation files and swap strings.
  5. Added translation flat files to .gitignore.
  6. Separated generation of translation flat file into its own function.
  7. Changed behavior of upvote_translation to auto accept or decline, and to auto regenerate translations file.
  8. Updated vote_translation to auto accept/reject and build translation file.
  9. Separated logic of translation page.
  10. Added ability to add/edit strings for translation.
  11. Finished second draft of function to get translations from flat file based on folder, and updated tr function to also grab Japanese if necessary, and to replace variables.
  12. Added 'edit string' link on translations page and updated script so that it autopopulates form below.
  13. Fixed another edge case with checkboxes.
  14. Reverted header on main page.
  15. Created first test of tr function.
  16. Migrated several translation functions to own class.
  17. Added helper functions for translation.
  18. Added language switcher helper function.
  19. Moved allowed languages string to translation class.
  20. Added basic translation documentation.
  21. Updated documentation nav.
  22. Added first pass at language switching for VIP members.
  23. Added array check before strlen in access_artist.
  24. Updated old set_lang function to work with new language system. Will remove once all users can use new system.
  25. Updated main nav links to specify folder when grabbing translation.
  26. Changed style of translation symbol.
  27. Added German as allowed language. Changed way folder is grabbed if none specified.
  28. Updated translations page to only show sections that have strings.
  29. Added ability to filter translations by language. Also hid 'add string' block from most users.
  30. Updated translation script with additional filtering.
  31. Changed text and style of 'view' link on translations page. Also fixed bug with long English strings.

Want to support future updates?

vkgy runs on a custom platform developed by a very small team. If you appreciate what we do and want to help us grow, please consider becoming a VIP member!

Support vkgy
top