sigwinhq / yassg

Yet Another Static Site Generator
MIT License
3 stars 0 forks source link

Non-database classes are not translatable #106

Open dkarlovi opened 2 years ago

dkarlovi commented 2 years ago

If you're using a value object, it currently cannot be translatable.

Example

class ProductUnit
{
    #[Localized] // this doesn't work
    public string $label;
}

class Product
{
    public ProductUnit $unit;
}