Comments (3)
I'm thinking something specific for FTL, but we could consider something that covers i18n/l10n in general. ๐ค
There are examples of both:
- In most editors, bitmap/raster file formats have the same icon (WEBP/AVIF/PNG/JPG/GIF). However, in VSC at least, SVG, ICO, and program-specific formats get their own icon.
- But even within the same file extension, they can differ too:
*.js
,*.test.js
,.eslintrc.js
,webpack.config.js
*.json
,tsconfig.json
,*.md
,CHANGELOG.md
,CONTRIBUTING.md
*.yml
,.gitlab-ci.yml
,docker-compose.yml
Among l10n specific formats, the only ones I've encountered are XLIFF (*.xlf
) and TMX (*.tmx
). In VSC, both just use the XML icon, since they're ultimately just XML files.
My personally preference would be that FTL aimed to have its own icon. Mostly as it introduces a new syntax, and imo it's nice to have a more specific icon, rather than sharing one with XLIFF and TMX for example.
You're welcome to disagree with the above! Meanwhile, I'll open an issue against editors to propose a sensible default icon for i18n/l10n files, similarly to what they've done with bitmap images. I think that's a good idea. ๐
from fluent.
This sounds like a rather good idea! Potentially not just for Fluent, but for localization file formats in general.
Is the actual need more to identify FTL files specifically, or any l10n files from others?
from fluent.
There is a plugin I'm using has an icon for Fluent file:
https://marketplace.visualstudio.com/items?itemName=macabeus.vscode-fluent
(But I like the idea to have a professional icon)
from fluent.
Related Issues (20)
- Korean markers (์กฐ์ฌ. e.g. ์/๋, ์ด/๊ฐ, ์/๋ฅผ, ์/๊ณผ, ...) support? HOT 2
- reusing terms to create more complex terms HOT 2
- Term's attributes can't be used as variable values HOT 2
- Term's attributes can't be used as placeable HOT 6
- `resolveVariableReference` enforces variables names to be own properties HOT 1
- Allow dots in message identifiers HOT 7
- Select expression breaks if you have dot character on the second line of any branch HOT 2
- Compiling fluent HOT 3
- Documentation on projectfluent.org is not updated HOT 1
- Let's reduce the gap between Fluent and MessageFormat 2
- EVAL builtin function
- Pass variables from app, to a fluent selector HOT 2
- Make `[]` legal in selector HOT 4
- Qt (Linguist) support HOT 1
- Future of Fluent, MessageFormat 2, etc HOT 24
- Proper way to display ordinal numbers HOT 3
- Improve selector usages in the wiki HOT 1
- syntax guide seems to be down HOT 2
- Forward all variables to parameterized term
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fluent.