Graham
Forum Translations
The forum has been updated to allow for translations into any language
Please note that this will not work with current customized twig files
To translate the texts for the forum first create a folder in your main file browser (root directory)
_xtgem_translations
The translation file is at
http://syntax.xtgem.com/_translations/xtforum.js
upload it to the _xtgem_translations folder by "remote server" and then remove the .js extension
The format of the translations is:
translation_key = translation_text // comment
Some of the translations contain code as well as text like
<a href="{a:1}">a post</a>
Take care not to create errors with these
Each translation must be on a separate line
If the xtforum file exists no default translations for forum will be loaded unless you delete this file.
The sharing of good translation files would be appreciated
The new updated forum twig files are at
http://syntax.xtgem.com/_templates/xtforum.twig.js
and
http://syntax.xtgem.com/_templates/my_blocks.twig.js
upload by remote server to _forum_templates and then remove the .js
admin_
Thx a lot for this solution.
admin_
Graham How to translate 'forum, board and thread' in (Search in ...) SUBMIT button? it can't change from 'xtforum' above.
I also still confuse with search function level. Only 'Search in forum' work succesfully. Search in board and Search in thread always 'no results found'.
It is possible to 'copy' SEARCH menu on top (before forum-head)? So we have double Search menu, on top and bottom.
And how to edit/delete attachment on a post? Edit menu only edit the text and Add new attachment.
Thx.
Graham
admin_ I have a solution for the button translation and I will put it forward on monday
also I have corrected some duplication errors in the forum translation file
admin_
Graham Ok, thanks for your help.
Graham
admin_ add these to your translations file
in_forum=forum
in_board=board
in_thread=thread
Copy code
to translate the second part of the search button
until they are added the button will appear broken if you have a translation file
also I have requested some clarity on how the search in board/thread actually works !
admin_
Graham This translations file is 100% work. (if twig files not added).
But, if i upload twig files, submit button translation not work. Only "Search_in" translation work. Translation "in_forum, in_board, in_thread" not work.
Please help me. Thanks.
Graham
admin_ I forgot to update my version of the blocks file
http://syntax.xtgem.com/_templates/my_blocks.twig.js (updated)
Also I am still working on other bits of the twig files and translation file
So I will post more new versions soon
admin_
Graham I edit icons source in my_blocks.twig to change some icons forum. It work, but this error (see pic) also shown frequently. Please help me to change icons without any error.