Skip to content

Replace simple tokens with their text #4801

Closed

Description

@rpetrusha

Replace simple tokens with their text

In numerous places in the documentation in the dotnet/docs repo, tokens are used to provide text that may change. At build time, the token's text is inserted into a topic. In many cases, however, tokens are used to insert simple static text that will not change. In these cases, the token offers no advantages, and the presence of the
token (a file reference included in the documentation) is distracting and makes the topic difficult to read.

Instances where the tokens are used should be replaced with their token text, and then the tokens should be deleted. Each PR can focus on replacing the text of one token and removing that token; checked items have been addressed in individual PRs. The tokens include:

  • tla2sharptla-visualb-md.md (token text: Visual Basic)
  • tla2sharptla-visualbnet-md.md (token text: Microsoft Visual Basic .NET)
  • tlasharptla-vba-md.md:Microsoft (token text: Visual Basic for Applications (VBA))
  • tlasharptla-visualb-md.md (token text: Microsoft Visual Basic)
  • tlasharptla-visualbnet-md.md (token text: Microsoft Visual Basic .NET))
  • tlasharptla-visualbscrpt-md.md (token text: Microsoft Visual Basic Scripting Edition (VBScript))
  • vb-current-short-md.md (token text: Visual Basic)
  • vbprvb-md.md (token text: Visual Basic) -- in the dotnet/docs repo
  • vbprvb-md.md (token text: Visual Basic) -- in the dotnet/dotnet-api-docs repo
  • csharp-current-short-md.md (token text: Visual C#)
  • csprcs-md.md (token text: Visual C#)
  • csprcsxpr-md.md (token text: Visual C# Express)
  • tla2sharptla-cshrp-md.md (token text: C#)
  • tla2sharptla-lhcshrp-md.md (token text: C#)
  • tlasharptla-cshrp-md.md (token text: C#)
  • tlasharptla-lhcshrp-md.md (token text: C#)
  • tlasharptla-vcshrp-md.md (token text: Microsoft Visual C#)
  • vs-current-short-md.md (token text: Visual Studio)
  • vsprvs-md.md (token text: Visual Studio)
  • tla2sharptla-avalonwinfx-md.md (token text:.NET Framework)
  • tla2sharptla-winfx-md.md (token text:.NET Framework)
  • tlasharptla-avalonwinfx-md.md (token text: Microsoft .NET Framework)
  • tlasharptla-netframewk-md.md (token text: Microsoft .NET Framework)
  • tlasharptla-titlewinfx-md.md (token text: .NET Framework)
  • tlasharptla-winfx-md.md (token text: Microsoft .NET Framework)
  • avalon1-md.md (token text: Windows Presentation Foundation (WPF))
  • tla2sharptla-mswin-md.md (token text: Windows)
  • tla2sharptla-win-md.md (token text: Windows)
  • tla2sharptla-winforms-md.md (token text: Windows Forms)
  • tla2sharptla-winformssharpinitcap-md.md (token text: Windows Forms)
  • tlasharptla-winsharpinitcap-md.md (token text: Microsoft Windows)
  • tlasharptla-workflow-md.md (token text: Windows Workflow Foundation)
  • tlasharptla-wpf-md.md (token text: Windows Presentation Foundation (WPF))
  • vsindigo-md.md (token text: Windows Communication Foundation (WCF))
  • wf-md.md (token text: Windows Workflow Foundation (WF))
  • wf2-md.md (token text: Windows Workflow Foundation)
  • ssnoversion-md.md (token text: SQL Server)
  • crabout-md.md (token text: For more information about)
  • crdefault-md.md (token text: For more information, see)
  • crexample-md.md (token text: For an example of)
  • crlist-md.md (token text: For a list of) - only two uses
  • indigo1-md.md (token text: Windows Communication Foundation (WCF)) -- in the docs repo
  • indigo1-md.md (token text: Windows Communication Foundation (WCF)) -- in dotnet-api-docs
  • indigo2-md.md (token text: WCF) -- in the dotnet/docs repo
  • indigo2-md.md (token text: WCF) -- in the dotnet/dotnet-api-docs repo
  • null-md.md (token text: null) - only two uses

The following are tokens that should be replaced by their token text and removed from the dotnet/dotnet-api-docs repo. (They have already been removed from the dotnet/docs repo.) A checkmark indicates that the item has already been removed.

  • ajax-current-ext-md.md (token text: Microsoft Ajax)
  • atlaslib-currrent-ext-md.md (token text: Microsoft Ajax Library)
  • cppwrt-md.md (token text: Visual C++ component extensions)
  • infocard1-md.md (token text: CardSpace)
  • net-2015-md.md (token text: .NET Framework 4.6)
  • net-client-v35-long-md.md (token text: .NET Framework Client Profile)
  • ofprexcel-md.md (token text: Microsoft Excel)
  • tla2sharptla-ado-md.md (token text: ADO)
  • tla2sharptla-aes-md.md (token text: AES)
  • tla2sharptla-ascii-md.md (token text: ASCII)
  • tla2sharptla-clrsharpinitcap-md.md (token text: CLR)
  • tla2sharptla-dib-md.md (token text: DIB)
  • tla2sharptla-guid-md.md (token text: GUID)
  • tla2sharptla-id-md.md (token text: ID)
  • tla2sharptla-jpegorg-md.md (token text: JPEG)
  • tla2sharptla-ms-md.md (token text: Microsoft)
  • tla2sharptla-rtf-md.md (token text: RTF)
  • tla2sharptla-whistler-md.md (token text: Windows XP)
  • tla2sharptla-whistler2-md.md (token text: Windows XP)
  • tla2sharptla-xamlsharpinitcap-md.md (token text: XAML)
  • tlasharptla-ado-md.md (token text: Microsoft ActiveX Data Objects (ADO))
  • tlasharptla-aes-md.md (token text: AES)
  • tlasharptla-ansi-md.md (token text: ANSI)
  • tlasharptla-bmpsharpinitcap-md.md (token text: Bitmap (BMP))
  • tlasharptla-dib-md.md (token text: device-independent bitmap (DIB))
  • tlasharptla-guid-md.md (token text: globally unique identifier (GUID))
  • tlasharptla-http-md.md (token text: HTTP)
  • tlasharptla-notepad-md.md (token text: Microsoft Notepad)
  • tlasharptla-oem-md.md (token text: OEM)
  • tlasharptla-titlewinfx-md.md (token text: .NET Framework)
  • tlasharptla-vba-md.md (token text: Microsoft Visual Basic for Applications (VBA))
  • tlasharptla-whistler-md.md (token text: Microsoft Windows XP)
  • tlasharptla-whistler2-md.md (token text: Microsoft Windows XP)
  • tlasharptla-winsharpinitcap-md.md (token text: Microsoft Windows)
  • tlasharptla-vstecmsbuild-md.md (token text: MSBuild)
  • tlasharptla-vwprvw-md.md (token text: Visual Web Developer)
  • tlasharptla-winxppro-md.md (token text: Windows XP Professional)

Activity

  1. added
    help wanted
    on Mar 27, 2018
  2. added this to the Backlog milestone on Mar 27, 2018
  3. pkulikov commented on Mar 27, 2018

    @pkulikov
    Contributor

    May I suggest more?

    • crabout-md.md (token text: For more information about)
    • crdefault-md.md (token text: For more information, see)
    • crexample-md.md (token text: For an example of)
    • crlist-md.md (token text: For a list of) - only two uses
    • indigo1-md.md (token text: Windows Communication Foundation (WCF))
    • indigo2-md.md (token text: WCF)
    • null-md.md (token text: null) - only two uses
  4. rpetrusha commented on Mar 27, 2018

    @rpetrusha
    ContributorAuthor

    Thanks, @pkulikov. Of course you can suggest more. I'd focused on product names (though I'd missed the WCF tokens that you listed). I've updated the list above to incorporate the tokens you've recommended.

  5. ErlendLandro commented on Apr 17, 2018

    @ErlendLandro
    Contributor

    I'd be happy to take care of this one.

  6. rpetrusha commented on Apr 20, 2018

    @rpetrusha
    ContributorAuthor

    Thanks, @Mackiovello. Since this is a fairly substantial amount of work, the best way to approach this is to submit a separate PR for each token.

  7. mairaw commented on Apr 20, 2018

    @mairaw
    Contributor

    should we just check off when both repos have been updated @rpetrusha? or maybe track each entry for each repo?

  8. 161 remaining items

  9. ErlendLandro commented on May 17, 2018

    @ErlendLandro
    Contributor

    @rpetrusha is there anything left for this issue?

  10. rpetrusha commented on May 17, 2018

    @rpetrusha
    ContributorAuthor

    There are just two tokens left, @Mackiovello:

    • indigo1-md.md in the dotnet/dotnet-api-docs repo
    • atlaslib-current-ext-md.md in the dotnet/dotnet-api-docs repro
  11. mairaw commented on Jun 12, 2018

    @mairaw
    Contributor

    Can we close this issue @rpetrusha?

  12. rpetrusha commented on Jun 12, 2018

    @rpetrusha
    ContributorAuthor

    Yes, we can, @mairaw.

  13. nokura commented on Jul 25, 2018

    @nokura

    As feedback from Loc team, this practice is caused a large amount of re-translating. $65K for https://github.com/dotnet/dotnet-api-docs. We are looking for a way to replace the tokens with values without sending to translators, but not find it yet.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wanted

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions