SIERRA
Members-
Posts
100 -
Joined
-
Last visited
Everything posted by SIERRA
-
@FireWire Thank you very much for your detailed information. It is very useful to us. One more question: please find the attachment and suggest which pricing will suit us in the google Cloud Translation Api. AutoML Translation Model Training Operations AutoML Translation Online Predictions Operations AutoML Translation Model Online Prediction In Translation V3 Document Translation. Language Detection Adaptive MT Translation Input Characters Adaptive MT Translation Output Characters Neural Translation Model Predictions Neural Translation Model Predictions In Translation V3 Neural Translation Model Online Prediction In Translation V3 Document Translation.
-
@FireWire Thanks for your information. We have a few queries regarding Cloud Translation API pricing and translation for our website. We have approximately 400,000 to 500,000 words. Currently, we are looking to translate the site into Tamil. Please find the attachment and suggest which pricing option would suit us. Does the Cloud Translation API offer a one-time purchase option for translating the entire website? If yes, could you kindly provide details regarding this option? Additionally, if we enable the Cloud Translation API for the first month, will the translated content remain accessible if we disable the Cloud Translation API after the first month? How many words can we do translation freely using Cloud Translation API. Lastly, is there an option for manual translation?
-
Thank you @Sanyaissues Any other suggestions please
-
Hi, We added the Fluency Module and installed it in our ProcessWire setup. We have two languages: Default and Tamil. We are using the "Google Cloud Translation" engine in the Fluency Module and have added the Google Cloud API key. However, we are seeing the following message: "ProcessWire: The translation service is not available, please try again later." (Please find the attachments below.) Could you please suggest how to proceed further?
-
Hi, Can you please suggest if we have the possibility to do automatic translation on the website? Thank you
-
@poljpocket You are absolutely correct. After configuring the homepage URLs like you suggested. Language translation is working fine. Thanks for the help. Thank you all.
- 14 replies
-
- 1
-
- language
- languagesupport
-
(and 1 more)
Tagged with:
-
Hi, Can anyone please reply. Thank you.
- 14 replies
-
- language
- languagesupport
-
(and 1 more)
Tagged with:
-
When selecting Tamil, the page reloads and displays the default language again. No Tamil translation is happening. Please suggest a solution.
- 14 replies
-
- language
- languagesupport
-
(and 1 more)
Tagged with:
-
No, @da² Not to specific user. Guests have the option to change the language themselves. How to fix this.
- 14 replies
-
- language
- languagesupport
-
(and 1 more)
Tagged with:
-
Hi, @da² user()->setLanguage("Tamil"); It is working. We need to provide users with the option to change the language themselves foreach($languages as $language) { if(!$page->viewable($language)) continue; echo "<a href='{$page->localUrl($language)}'>{$language->title}</a>"; } The above code provides links to the languages, but after the page redirects, it shows the default language only. Do you have any suggestions?
- 14 replies
-
- language
- languagesupport
-
(and 1 more)
Tagged with:
-
Hi, Thank you. I added it at the beginning of the file, and now it works without errors. However, translating to Tamil is not working; it remains in the default language. Please find the screenshot of output and my code below. <?php namespace ProcessWire; foreach($languages as $language) { if(!$page->viewable($language)) continue; echo "<a href='{$page->localUrl($language)}'>{$language->title}</a>"; echo "<br>"; } echo __("Welcome to our website"); ?> Can you please suggest a solution?
- 14 replies
-
- language
- languagesupport
-
(and 1 more)
Tagged with:
-
Hi Our simple code: <?php echo __("Welcome to our website"); ?> I have installed the following core modules: Language Support Language Support - Fields Language Support - Page Names Language Support - Tabs Translation export/import I added the translation text for both the default and Tamil languages for the sentence "Welcome to our website" in the admin interface. Please find the screenshots PW-dash1.png and PW-dash2.png However, we are facing an error when call this sentence in the following template file site/templates/test-lang.php. Error: Fatal error: Uncaught Error: Call to undefined function __() in E:\wamp\www\processwire-dev\site\templates\test-lang.php on line 3 ( ! ) Error: Call to undefined function __() in E:\wamp\www\processwire-dev\site\templates\test-lang.php on line 3 Please find the screenshot of PW-error.png Please suggest how to resolve this.
- 14 replies
-
- language
- languagesupport
-
(and 1 more)
Tagged with:
-
Hi, How to display PDF document on the website. While displaying the document, we should not provide provision to download or print the document. Please suggest any plugin.
-
Hi, We have a website developed using the ProcessWire framework. We have applied the Padhai HTML Template as the theme to this website. Now we are doing page speed optimization where PageSpeed Insights suggested fixing the errors related to eliminating render-blocking resources. (Please find the screenshot: rendor-blocking.png) However, we do not face many errors in eliminating render-blocking resources when we test the Padhai HTML Template alone. (Please find the screenshot: rendor-blocking-padhai.png). We kept these template files outside the project directory. We finally found that when we have the same files inside the site/templates/ folder, we face this issue. Please suggest any plugin to resolve this or suggest how to resolve this?
-
Hi, We have a vendor folder in our project root directory. However, when we try to call the vendor/autoload.php file from the template file, we encounter the following error on the site: PHP Fatal error: Cannot declare class ComposerAutoloaderInit9249ca7144adea638e43f1ea4a5d11c5, because the name is already in use in C:\wamp64\www\ticf\site\assets\cache\FileCompiler\vendor\composer\autoload_real.php on line 5 please suggest how to fix this
-
How to show the custom error message below the Inputfileds?
SIERRA replied to SIERRA's topic in General Support
Hi @da² Thank you very much for your inputs. I used a session variable and updated it as you suggested. It works as expected. If we find an alternative solution to resolve this, it would be greatly appreciated. Thank you -
How to show the custom error message below the Inputfileds?
SIERRA replied to SIERRA's topic in General Support
Hi, Thank you for your suggestion. We have tried your code, and it is working well for the repeater fields. However, one issue we are facing is that if a repeater item has an error, it should be opened by default at page loading. Unfortunately, it is not opening, and we need to manually open and view the error. Please find the screenshot attached and our coding .Could you please possibilities to fix this? Thank you. Code in ready.php file $wire->addHookAfter("Inputfield(name=test1_repeater)::processInput", function (HookEvent $event) { /** @var InputfieldRepeater $inputfieldRepeater */ $inputfieldRepeater = $event->object; /** @var InputfieldWrapper $wrapper */ foreach ($inputfieldRepeater->getWrappers() as $repeaterItemId => $wrapper) { /** @var Inputfield $itemField */ $itemField = $wrapper->getByName("test_name_repeater$repeaterItemId"); if($itemField && $itemField->value == ''){ $itemField->error('Custom Message'); } } }); -
How to show the custom error message below the Inputfileds?
SIERRA replied to SIERRA's topic in General Support
Hi, Can anyone please help? Thank you. -
How to show the custom error message below the Inputfileds?
SIERRA replied to SIERRA's topic in General Support
Hi, How to add custom validation to the field 'Test name' (inside the repeater) and display its error message similar to 'Title' field. Please find the screenshot and suggest. Thank you. -
How to show the custom error message below the Inputfileds?
SIERRA replied to SIERRA's topic in General Support
Hi We tried using this hook method "$this->addHookAfter('Inputfield::processInput', $this, 'validateCustomField');", Using this we can able to show the error messages in the repeater field. However, we need to show the error message below the respective inputfield in the Repeater. Is there any hook methods to achieve this? Thanks for the support and we will avoid duplicate questions. -
How to show the custom error message below the Inputfileds?
SIERRA posted a topic in General Support
-
How to use values from another page in admin panel
SIERRA replied to SIERRA's topic in General Support
Hi @ngrmm Thank you so much. Your information and reference link helped to me. it is worked perfectly.- 2 replies
-
- 2
-
- reference
- inputfield
-
(and 3 more)
Tagged with:
-
Hi, Please find the screenshots attached. We have a repeater field on the test1 page. On the test2 page, we would like to select values of titles created in the test1 page. Please suggest. Thank you.
- 2 replies
-
- reference
- inputfield
-
(and 3 more)
Tagged with:
-
Hi, Any updates please?
- 13 replies
-
- htaccess
- htaccess redirects
-
(and 2 more)
Tagged with: