Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » What is Scratch.pot?
- liam48D
- Scratcher
1000+ posts
What is Scratch.pot?
So, this is how I found it:
First, I opened the Scratch 1.4 folder (on Mac).
Then, I opened “locale”.
Finally, I scrolled down a bit. I found a file called “Scratch.pot”.
When I opened it using TextEdit, I saw a bunch of text. For the sake of the page, I'm not going to copy the whole thing, but here's a tidbit of what was in it:
And so on. So, what does this mean? Chances are only a squeak programmer will get it, but I don't know.. Please help? I think it has to do with custom languages, but I'm not sure.
First, I opened the Scratch 1.4 folder (on Mac).
Then, I opened “locale”.
Finally, I scrolled down a bit. I found a file called “Scratch.pot”.
When I opened it using TextEdit, I saw a bunch of text. For the sake of the page, I'm not going to copy the whole thing, but here's a tidbit of what was in it:
############################################
# FORMATTING
############################################
# Language name as you'd like it to appear in the Languages menu
# (Required)
msgid "Language-Name"
msgstr "Liam's Language"
# Directionality of language
# LTR = Left to Right
# RTL = Right to Left
msgid "Language-Direction"
msgstr "LTR"
# Scale to apply to font size (2 for twice as large)
# Use this if the font is too small for legibility on the Scratch interface
msgid "Font-Scale"
msgstr "1"
# Set to 'true' or 'false'
# Use this if you do not want any of the text to be bolded, for legibility
msgid "Suppress-Bold"
msgstr "false"
# Font to use on a Windows system
msgid "Win-Font"
msgstr "Courier"
# Font to use on a Mac system
msgid "Mac-Font"
msgstr "Courier"
# Font to use on a Linux system
msgid "Linux-Font"
msgstr "Courier"
############################################
# BLOCKS
############################################
msgid "%H sensor value"
msgstr "%"
msgid "%L contains %s"
msgstr ""
msgid "%a of %m"
msgstr ""
msgid "%b and %b"
msgstr ""
msgid "%b or %b"
msgstr ""
And so on. So, what does this mean? Chances are only a squeak programmer will get it, but I don't know.. Please help? I think it has to do with custom languages, but I'm not sure.
202e-202e-202e-202e-202e UNI-CODE~~~~~
- technoboy10
- Scratcher
1000+ posts
What is Scratch.pot?
It's a translation file which contains all of the translatable text strings in Scratch.
trans rights are human rights
- sdmeijer
- Scratcher
100+ posts
What is Scratch.pot?
It's a translation file which contains all of the translatable text strings in Scratch.
I agree, I'm not sure where the PO stands for, but the T is for Template.
So with the POT you can make a PO-file.
- liam48D
- Scratcher
1000+ posts
What is Scratch.pot?
So your saying I could make my own Scratch language? xDIt's a translation file which contains all of the translatable text strings in Scratch.
I agree, I'm not sure where the PO stands for, but the T is for Template.
So with the POT you can make a PO-file.
202e-202e-202e-202e-202e UNI-CODE~~~~~
- scimonster
- Scratcher
1000+ posts
What is Scratch.pot?
PO is probably Pootle, the translation server.It's a translation file which contains all of the translatable text strings in Scratch.
I agree, I'm not sure where the PO stands for, but the T is for Template.
So with the POT you can make a PO-file.
Retired Community Moderator
BTW, i run Google Chrome 41.0.2272.101 on a Linux system - Ubuntu 14.04. NEW: iPad 4th gen. w/retina.
418 I'm a teapot (original - to be read by bored computer geeks)
THE GAME (you just lost)
; THE SEMICOLON LIVES ON IN OUR SIGS
- GeonoTRON2000
- Scratcher
100+ posts
What is Scratch.pot?
More specifically, .pot is the template file extension for the gettext utility on Mac and GNU/Linux systems. (Anything GNU-based, actually.)PO is probably Pootle, the translation server.It's a translation file which contains all of the translatable text strings in Scratch.
I agree, I'm not sure where the PO stands for, but the T is for Template.
So with the POT you can make a PO-file.
- terminator68
- Scratcher
100+ posts
What is Scratch.pot?
Through the use of proven algorithms, computer modeling, and exhaustive years of calibration with the latest psychological advances, I have determined that the aforementioned file is a sign that this world is ending and giving way to a greater, more terrifying universe.
Last edited by terminator68 (March 23, 2014 19:58:06)
- Dante
- liam48D
- Scratcher
1000+ posts
What is Scratch.pot?
…uh, seriously? xD Through the use of proven algorithms, computer modeling, and exhaustive years of calibration with the latest psychological advances, I have determined that the aforementioned file is a sign that this world is ending and giving way to a greater, more terrifying universe.
And no, I don't think the world will end anytime.
202e-202e-202e-202e-202e UNI-CODE~~~~~
- goldfish678
- Scratcher
1000+ posts
What is Scratch.pot?
My Windows Vista computer thinks it's a Microsoft PowerPoint 93-2007 Template.
- davidkt
- Scratcher
1000+ posts
What is Scratch.pot?
lol My Windows Vista computer thinks it's a Microsoft PowerPoint 93-2007 Template.
Remember when I looked like this? I still do.
Float, my Scratch 2.0 mod | My (somewhat under-construction) blog
Float, my Scratch 2.0 mod | My (somewhat under-construction) blog
- goldfish678
- Scratcher
1000+ posts
What is Scratch.pot?
Ikr XDlol My Windows Vista computer thinks it's a Microsoft PowerPoint 93-2007 Template.
- liam48D
- Scratcher
1000+ posts
What is Scratch.pot?
Is dis my most well-known / used topic on the Scratch forums? xD
Thanks for the help, everyone!
Thanks for the help, everyone!
202e-202e-202e-202e-202e UNI-CODE~~~~~
- fetchydog567
- Scratcher
100+ posts
What is Scratch.pot?
Some kinda description to make a mod, make blocks and things, I think this was like a guide to program scratch, Cause those %b things are to make blocks and stuff So, this is how I found it:
First, I opened the Scratch 1.4 folder (on Mac).
Then, I opened “locale”.
Finally, I scrolled down a bit. I found a file called “Scratch.pot”.
When I opened it using TextEdit, I saw a bunch of text. For the sake of the page, I'm not going to copy the whole thing, but here's a tidbit of what was in it:############################################
# FORMATTING
############################################
# Language name as you'd like it to appear in the Languages menu
# (Required)
msgid "Language-Name"
msgstr "Liam's Language"
# Directionality of language
# LTR = Left to Right
# RTL = Right to Left
msgid "Language-Direction"
msgstr "LTR"
# Scale to apply to font size (2 for twice as large)
# Use this if the font is too small for legibility on the Scratch interface
msgid "Font-Scale"
msgstr "1"
# Set to 'true' or 'false'
# Use this if you do not want any of the text to be bolded, for legibility
msgid "Suppress-Bold"
msgstr "false"
# Font to use on a Windows system
msgid "Win-Font"
msgstr "Courier"
# Font to use on a Mac system
msgid "Mac-Font"
msgstr "Courier"
# Font to use on a Linux system
msgid "Linux-Font"
msgstr "Courier"
############################################
# BLOCKS
############################################
msgid "%H sensor value"
msgstr "%"
msgid "%L contains %s"
msgstr ""
msgid "%a of %m"
msgstr ""
msgid "%b and %b"
msgstr ""
msgid "%b or %b"
msgstr ""
And so on. So, what does this mean? Chances are only a squeak programmer will get it, but I don't know.. Please help? I think it has to do with custom languages, but I'm not sure.
.
- Discussion Forums
- » Advanced Topics
- » What is Scratch.pot?