Skip to content

Request Feature: Support prefix identifier for message #624

@ngdangtu-vn

Description

@ngdangtu-vn

I would like to ask if it is possible to do so? Currently I'm implementing Fluent to Lume: https://gitlab.com/ndt-deno/lume-fluent

So far it's all good. But in future, I would like to make a scope feature base on fluent file name. I was thinking it would be great if I can get fluent file name and turn it into prefix of every message. But FluentBundle doesn't seems to support it. I wonder if it's make sense (and ok) to you guys to have that feature in the lib?

Maybe an option in FluentResource would be cool:

new FluentResource('msg-id = a message ID', { namespace: 'prefix' })

The result will be prefix-msg-id. How was that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions