Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
1 vote
1 answer
22 views

I am at my wits' end: Twig translations seem to have stopped working, and I cannot find the culprit. I am using a custom-built MVC framework with a Twig filter. I can follow the code up to ...
1 vote
1 answer
340 views

I needed to add some formats such as ico and svg in a part of the WordPress theme that I designed, which I did by placing the following code in the functions.php file: function upload( $mime_types ) { ...
Wp-PHP's user avatar
  • 109
1 vote
1 answer
75 views

I want to put a function in the functions.php file so that when the user activates the template, all the files with .mo and .po extensions are copied to the wp-content\languages\themes path. For this ...
Wp-PHP's user avatar
  • 109
0 votes
1 answer
109 views

I have a Bot which im trying to make multilingual. Now when i try to run the command for the bot i get UnicodeDecodeError: 'ascii' codec can't decode byte 0xf0 in position 7: ordinal not in range(128) ...
Navis's user avatar
  • 77
3 votes
1 answer
2k views

I am reviewing how to address multi-language support for documentation and messaging with a library. I found that the MASS package uses such support, and I wanted to review the how and why. For ...
0 votes
1 answer
2k views

I want to implement the same functionality as the modals we see when we click on share some item on Google docs or Google drive..like the picture below please guide me on how can I implement that and ...
-3 votes
2 answers
1k views

I am making a discord bot, for this I needed to make buttons for an embed, and to do that I needed to import a library. Once I imported it in the code replit would say that there is no module named ...
2 votes
0 answers
174 views

Is this WordPress theme internationalization with hyperlink in it done right? I've spent whole day looking for fix to this but translation is not showing up on page. Only original English version of ...
0 votes
1 answer
1k views

i have created a plugin "translation_test" to test the translation capabilities of wordpress. Translation files in the languages directory there is a file translation_test.pot that contains: ...
0 votes
0 answers
388 views

Model.js const mongoose = require('mongoose') const Schema = mongoose.Schema; var uniqueValidator = require('mongoose-unique-validator'); const bcrypt = require('bcrypt') const UserSchema = new ...
1 vote
1 answer
594 views

I have multiple .po files in a standard directory structure of GNU gettext: locales/ ├── en_US │ └── LC_MESSAGES │ └── myapp.po └── zh_TW └── LC_MESSAGES └── myapp.po I knew that ...
1 vote
1 answer
534 views

I'm trying to successively build up mixture models, iteratively adding sub-models. I start by building and training a simple model. I then build a slightly more complex model that contains all of the ...
1 vote
1 answer
377 views

there is small problem with Flask web application. Right now I'm creating backend for one website and one of the task is to create translation panel in Flask-Admin. Website are using Flask-Babel for ...
2 votes
1 answer
13k views

I have a docker image of a PyTorch model that returns this error when run inside a google compute engine VM running on debian/Tesla P4 GPU/google deep learning image: CUDA kernel failed : no kernel ...
4 votes
1 answer
3k views

What's the benefit and primary reason for compiling GNU gettext .po (Portable Object) files to .mo (Machine Object) ? I saw many programs reading/parsing .po directly. I'm not using wordpress but ...
Konrad's user avatar
  • 7,367

15 30 50 per page
1
2 3 4 5

AltStyle によって変換されたページ (->オリジナル) /