Coder Social home page Coder Social logo

Comments (4)

dwaynebailey avatar dwaynebailey commented on July 21, 2024

Some other ideas of what data or structure we would need:
- Can specify file and location of string
- Can specify a version. Ie >m134 etc or v1 only. This allows us to have one
file in the package that covers everything
- Have a system file and allow a user to augment or override it
- Allow wildcard exclusions. This would allow eg exclusion of whole of
helpcontent2 from OOo. Or exclusion based on entry name eg. *.key in Mozilla.

from translate.

dwaynebailey avatar dwaynebailey commented on July 21, 2024

I have found some others that you probably want to be able to exlude or mark as
configuration entries:
- *.width
- *.height
- *.size
- Items that contains only a URL
- One character wide items (most of these are *.key) but others are eg ‘%’
- Pure space ie there are only tab or space characters in the msgid
- Variables, space and punc. Items that contain only those three eg ‘%S = %S’
- regex eg ‘VK_F[0-3]+’ in Mozilla to eliminate all keyboard commandkeys

Notes on command keys, they are called
- *.key
- *.commandkey and *.commanKey
- *.commandkey2

from translate.

dwaynebailey avatar dwaynebailey commented on July 21, 2024

I think a better option would be to get some new syntax into the upstream
Mozilla DTD and .properties files. Currently they have DONT_TRANSLATE entries.

If they added CONFIG entries we would at least know what to do with it. If we
had something like:

CONFIG (true|false) then we could even check for valid values.

I’m marking this for addressing LATER as I think we need to get Mozilla involved
in this.

from translate.

dwaynebailey avatar dwaynebailey commented on July 21, 2024

This Mozilla bug is a request to add config information:
https://bugzilla.mozilla.org/show_bug.cgi?id=331438

from translate.

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.