tabular
Forum Replies Created
-
Forum: Plugins
In reply to: [Lana Downloads Manager] Multi Language (qTranslate-X)We are still having this problem and would appreciate a quick answer whether we can expect this functionality or if we need to redesign our application.
Best regards
Forum: Plugins
In reply to: [Lana Downloads Manager] Multi Language (qTranslate-X)Thank you for your help so far.
We still need the informations above (filesize and fileformat) of the downloadable content provided by our service.
Your help is appreciated a lot.best regards
Forum: Plugins
In reply to: [Lana Downloads Manager] Multi Language (qTranslate-X)thank you very much. Just for clarification:
I invoke
get_attached_fileto work with following functions:size_format filesize wp_check_filetype- This reply was modified 6 years, 4 months ago by tabular.
Forum: Plugins
In reply to: [Contact Form Email] Custom Javascript callback JSThank you very much. I just tested your solution and it works like a charm.
good job!
Forum: Plugins
In reply to: [Contact Form Email] Custom Javascript callback JSThank you very much. I will test the solution today and will reply.
Forum: Plugins
In reply to: [Lana Downloads Manager] Multi Language (qTranslate-X)The functions you mentioned worked well to get the translated version for fields like
lana_download_file_url.
But I am still failing to access the real value of
lana_download_file_id.I get the id “0” and cannot access the file through
get_attached_file.Forum: Plugins
In reply to: [Lana Downloads Manager] Multi Language (qTranslate-X)Thanks for the answer. I will test the solution now and write you a message if it worked.
Forum: Plugins
In reply to: [Lana Downloads Manager] Multi Language (qTranslate-X)Hello Lana Codes,
The plugin is working for the backend side (wp-admin). One can save for all languages provided by qTranslate-X.
But we still have following Problem:$meta = get_post_meta($download->ID); $url = $meta['lana_download_file_url'][0]; $fileid = $meta['lana_download_file_id'][0];When trying to get the url or the file_id we get the untraslated string that contains all languages.For Example: [:en]InEngish[:de]InDeutsch[:]
I found the filter named “get_post_metadata” which is the function “lana_downloads_manager_qtranslate_filter_postmeta” added in the lana-downloads-manager-qtranslate plugin. But I am not sure if thats the right way to get the job done.Appreciate your help.
best regards
Forum: Plugins
In reply to: [Lana Downloads Manager] Multi Language (qTranslate-X)thank you very much for your answer!
I will test the code tomorrow and give a response.
best regards
Forum: Plugins
In reply to: [Lana Downloads Manager] Multi Language (qTranslate-X)Sadly it is a legacy project running for a high priority customer. We cannot change the plugins on the run.
Is it possible to provide a file upload field for each language?
best regards
Forum: Plugins
In reply to: [Lana Downloads Manager] Multi Language (qTranslate-X)Thank you for your answer.
Your solution does not work properly.
It certainly adds a translation flag to the “File Manager” field but the field itself still is only able to contain one value.For example. If you upload a picture, change the language afterwards and download a different one, the later upload is set for all languages.
But thank you for your solution.
best regards
Forum: Plugins
In reply to: [Lana Downloads Manager] Multi Language (qTranslate-X)Here you have some additional information.
I checked out the github of qTranslate-X and they are advertising with the feature that you can make custom fields translatable:
https://ibb.co/Bj1njpBHere you can see the settings of the plugin:
https://ibb.co/2chW9KmI hope this helped.
best regards
Forum: Plugins
In reply to: [Lana Downloads Manager] Multi Language (qTranslate-X)Hello,
thank you for your fast answer.
In the following screenshots you can see that the plugin qTranslate X adds to every “translatable field” the option to change the language.
https://ibb.co/Q85xWLj
https://ibb.co/Vwby960You also can see that this allows to add different content depending on the language you chose.
This is only possible for “translatable fields” which are marked with a blue stripe to the left of the field.
As one can easily see, this stripe is missing on the file uploader and therefore qTranslateX does not add the translation option to the download field.I hope this helps.
best regards