News for hackers. Stuff that matters.
Re:Show HN: Bato – A Filipino Programming Language by perfmode on Friday January 12, 2018 @09:08AM (#16132860)
A language with Internationalized keywords would be pretty dope.
Re:Show HN: Bato – A Filipino Programming Language by nuclearcookie on Friday January 12, 2018 @09:13AM (#16132893)
That's what they do with formulas in Excel. There it sucks HARD. Try googling for documentation on StackOverflow for example. Anything you want to copy paste doesn't work because Excel is expecting the commands in a different language.
Re:Show HN: Bato – A Filipino Programming Language by zbentley on Friday January 12, 2018 @09:51AM (#16133211)
That sounds like there's a demand for a code-help service that is syntactically aware enough to perform translations into the viewer's native language. I'm sure it would be harder to implement than a basic text-only + syntax highlighting site, but imagine how nice it would be to have your user's language preference (or, if not logged in, with a dropdown "pick $human_language for this $programming_language snippet"). You could also optionally integrate Google Translate or similar for the non-programming-language parts (obviously with less accuracy, but still better than nothing).

Searchability would be tricky, since google etc. might detect the very-similar-but-for-code-snippets links as duplicate/spam and bury them, but there are hopefully ways around that--up to and including asking google to somehow improve their algorithm; it seems like they might be sympathetic (because they're programmers and because there's money to be made) to a request to accommodate such search patterns.

Not only would that solve the problem you posed (googling for stuff on SO is tricky for you as a (presumably) English speaker if it's in another language), but it would also address a far wider-reaching problem with big implications: the relative inaccessibility of programming, especially at the early-beginning stages, to people who are not fluent English speakers.

Re:Show HN: Bato – A Filipino Programming Language by Retra on Friday January 12, 2018 @10:04AM (#16133354)
Sure, you can solve almost any problem without a budget...
Re:Show HN: Bato – A Filipino Programming Language by dx034 on Friday January 12, 2018 @09:48AM (#16133172)
If you google in your native language you'll get results in that language. I agree that it takes a bit to relearn all formulas (and I find it too confusing to use different versions at the same time) but when I was still using a non-English version I had no problems finding solutions.

I think it was exactly the right thing to do. Excel formulas are often used by people with little knowledge of programming who aren't aware that "if" is a common keyword. Using the local variant makes formulas much easier to understand (and to get people closer to actual programming).

Re:Show HN: Bato – A Filipino Programming Language by nuclearcookie on Friday January 12, 2018 @10:27AM (#16133568)
I agree it's a good move from Microsoft to make Excel more accessible. It's just not something I was expecting the first time I stumbled upon the problem.

I have a programming background so I'm used to searching everything in English, even though that's not my native language.

I inserted sqrt() in my non-English Excel and it didn't work. I thought I had a completely broken version of the program. Took a while to figure out it was a language problem!

Re:Show HN: Bato – A Filipino Programming Language by Nullabillity on Friday January 12, 2018 @10:06AM (#16133368)
And now you need to maintain hundreds of variants of each SO answer.
Re:Show HN: Bato – A Filipino Programming Language by pjmlp on Friday January 12, 2018 @09:19AM (#16132935)
It only sucks for us, that are used to English as "programming language".

Many Office users only speak their native tongue, are quite happy with the translations and don't even know that StackOverflow exists.

They rather buy books, https://www.fca.pt/en/catalogue/computer-science/office/page...

Re:Show HN: Bato – A Filipino Programming Language by flohofwoe on Friday January 12, 2018 @09:25AM (#16132978)
I don't know, for me as a non-native speaker the words in a programming language are just memorised tokens, they could just as well be symbols or emojis. The bigger deal is libraries and documentation. For instance Microsoft is attempting to localise all their SDK documentation, and at least for German it's a nightmare, either the translations are done by non-technical people, or algorithms, sometimes the information is twisted in a way that reads like correct German, but doesn't contain any useful information, or is even plain wrong.
Re:Show HN: Bato – A Filipino Programming Language by rplnt on Friday January 12, 2018 @09:27AM (#16132992)
> they could just as well be symbols or emojis

I'm sure they will...

Re:Show HN: Bato – A Filipino Programming Language by Raphmedia on Friday January 12, 2018 @10:03AM (#16133340)
You can already use emoji in JavaScript.

There's also http://www.emojicode.org

Re:Show HN: Bato – A Filipino Programming Language by dagw on Friday January 12, 2018 @09:19AM (#16132931)
You just described Excel, and I can assure it is anything but "pretty dope". It is in fact a monstrous pain in the ass.
Re:Show HN: Bato – A Filipino Programming Language by AugustJok on Friday January 12, 2018 @09:13AM (#16132890)
What would be the point though? I feel like that would only increase misunderstandings . Like searching for documentation or help online on that function.
Re:Show HN: Bato – A Filipino Programming Language by skybrian on Friday January 12, 2018 @10:25AM (#16133549)
I can't find anything about this on the web, but didn't AppleScript originally do this?