Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support localized strings for 'Recommendation' document type (old ISO documents) #1097

Closed
Intelligent2013 opened this issue Feb 12, 2024 · 5 comments
Assignees

Comments

@Intelligent2013
Copy link
Contributor

Source issue: #1089

  • en:
    image

  • fr;
    image

Currently, for adoc:

:doctype: recommendation

the Presentation XML looks so:

        <ext>
            <doctype>recommendation</doctype>

Expected results:

        <ext>
            <doctype language="">recommendation</doctype>
            <doctype language="en">ISO Recommendation</doctype>
        <ext>
            <doctype language="">recommendation</doctype>
            <doctype language="fr">Recommandation ISO</doctype>

Note: for 'ru' I can't find the old document.

@opoudjis
Copy link
Contributor

Clearly the doctype label will be either Recommendation or ISO Recommendation depending on the rendering label. I'll switch it accordingly.

@opoudjis
Copy link
Contributor

opoudjis commented Feb 13, 2024

The document-scheme values are going to be:

  • 1951
  • 1972
  • 1987
  • 1989
  • 2012
  • 2013
  • 2024 = current

I will make the doctype be ISO Recommendation only in the 1951 scheme.

opoudjis added a commit to metanorma/metanorma.org that referenced this issue Feb 13, 2024
@opoudjis
Copy link
Contributor

Actually, let me back up: Recommendation is an obsolete document type. So it's fine to associate "recommendation" as a document type with ISO Recommendation.

@opoudjis
Copy link
Contributor

:doctype: recommendation

now consistently gives:

<doctype language="">recommendation</doctype><doctype language="en">ISO Recommendation</doctype>

@Intelligent2013
Copy link
Contributor Author

@opoudjis thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

2 participants