Questions tagged [spoken-language]

11 questions
109
votes
26 answers

Coding in Other (Spoken) Languages

This is something I've always wondered, and I can't find any mention of it anywhere online. When a shop from, say Japan, writes code, would I be able to read it in English? Or do languages, like C, PHP, anything, have Japanese translations that they…
helloandre
  • 10,541
  • 8
  • 47
  • 64
15
votes
4 answers

Resources for translating common programming terms for UI into other languages

I'm not even sure this is entirely programming related...but here goes: I need to translate some forms into different languages, specifically Spanish and French. Obviously, it would be good if I knew these other languages fluently, but I don't.…
Anthony Potts
  • 8,842
  • 8
  • 41
  • 56
12
votes
4 answers

Design patterns for multiple language website?

Lets say I'm designing a website where we have English, French, Spanish, German, and Korea (I'm not, but lets pretend I am). I cannot rely upon services such as google translate, as the nature of the website is not for entertainment but business.…
12
votes
4 answers

Problems with noobs putting my GA code into their sites

I don't mean for the title to be derogatory, but this is a rather frustrating problem, and I'm looking for a good workaround, given a language barrier involved. I have a site set up for a plugin I wrote, and, rather than use the site's resources to…
dclowd9901
  • 6,756
  • 9
  • 44
  • 63
5
votes
1 answer

How do I arrange my multi-lingual REST API?

I've just began building a multilingual REST API and are unsure on if there's any convention to follow regarding how I should integrate the multilinguality properly. Below is a list of alternatives I have come up with, not knowing which makes most…
Industrial
  • 41,400
  • 69
  • 194
  • 289
5
votes
1 answer

Automatically translate (non-English) comments to English?

I have a Matlab code base whose comments are written in Swedish. It’s something like this: % Syntax: result = ocr(DOC, METHOD, fname) % DOC - bild som ska processas % METHOD - ann eller knear % fname - full filename of the net ('ann' method) or the…
2
votes
2 answers

Translating code comments written in another spoken language

I've just inherited some C code from a German programmer, and all of the comments are, naturally, in German. As I've forgotten most of my high school German, this is a slight problem. Does anyone know of any translation tools that are code-aware;…
Brown
  • 1,132
  • 1
  • 13
  • 33
2
votes
2 answers

Regular Expression with foreign languages

I have a function that I have used a bunch of times in various files which has a signature like: Translate("English Message", "Spanish Message", "French Message") and I am wanting to pull out the English, Spanish and French messages and then output…
Anthony Potts
  • 8,842
  • 8
  • 41
  • 56
1
vote
1 answer

PHP language detection script

After I read some stuff on-line I came up with this PHP script to detect the browser's language and redirect the user to the correct website's version. Short said, if the user has a browser in Swedish, then the script should redirect to index.php,…
viriato
  • 859
  • 2
  • 13
  • 26
0
votes
0 answers

Spoken Language Identification

```import numpy as np import glob import os from keras.models import Model from keras.layers import Input, Dense, GRU, CuDNNGRU, CuDNNLSTM from keras import optimizers import h5py from sklearn.model_selection import train_test_split from…
0
votes
1 answer

What is the most efficient way to convert spoken language dates to a normalized form?

In spoken language processing, what is the best way to convert different ways of expressing date to a standard one that computer can understand? For example we can say many things like: Tomorrow, the day after tomorrow, two days later, next weekend,…
user3017348