Skip to content

Feature: Allow null as default value in translations #205

@tarlepp

Description

@tarlepp

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe

If we're eg. using some CI script to check if there is not translated keys using default value as like null is better than just a some "string" because if it's a string it might be proper translation itself - so using null for not translated keys is more specific.

Describe the solution you'd like

Allow to set null in --default-value option and also in transloco.config.ts configuration file.

Describe alternatives you've considered

No response

Describe alternatives you've considered

I think that I explained this already.

Describe alternatives you've considered

I think that I explained this already.

Additional context

Choosing "No" to "I would like to make a pull request for this feature" question - just because I don't know this library so well yet - just using this like couple hours - nothing else.

I would like to make a pull request for this feature

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions