Giter Club home page Giter Club logo

Comments (3)

SethFalco avatar SethFalco commented on May 23, 2024 1

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

image

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.

image

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.

eemeli avatar eemeli commented on May 23, 2024

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.

ngdangtu-vn avatar ngdangtu-vn commented on May 23, 2024

There is a plugin I'm using has an icon for Fluent file:

image

https://marketplace.visualstudio.com/items?itemName=macabeus.vscode-fluent

(But I like the idea to have a professional icon)

from fluent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.